public class StringOperandType extends Object implements IRelationOperandType
IRelationOperandType
implementation for String
s.
Constructor and Description |
---|
StringOperandType()
Create a
String operand type. |
Modifier and Type | Method and Description |
---|---|
boolean |
check(IRelationOperand operand)
Check, if a given operand belongs to this type.
|
boolean |
equals(Object object) |
IRelationOperand |
getOperand(Object object)
Create the proper operand for a given object, if it belongs to this type.
|
IRelationOperand |
getOperand(String id,
IResourceContext context)
Get the operand for a given id and context.
|
int |
hashCode() |
boolean |
isChangeTrackingSupported()
Check, if this operand type supports tracking of object renaming.
|
boolean |
isCopyTrackingSupported()
Check, if this operand type supports tracking of object copy.
|
boolean |
isDeleteTrackingSupported()
Check, if this operand type supports tracking of object deletion.
|
public boolean isDeleteTrackingSupported()
IRelationOperandType
isDeleteTrackingSupported
in interface IRelationOperandType
boolean
true
, if this operand type
supports the tracking of deletes for objects of this type.public boolean isChangeTrackingSupported()
IRelationOperandType
isChangeTrackingSupported
in interface IRelationOperandType
boolean
true
, if this operand type
supports the tracking of rename or move for objects of this type.public boolean isCopyTrackingSupported()
IRelationOperandType
isCopyTrackingSupported
in interface IRelationOperandType
boolean
true
, if this operand type
supports the tracking of copy for objects of this type.public boolean check(IRelationOperand operand) throws ResourceException
IRelationOperandType
check
in interface IRelationOperandType
operand
- the IRelationOperand
which should be checked
for compatibility with this type.boolean
true
, if the operand is
compatible with this type.ResourceException
- Exception raised in failure situationpublic IRelationOperand getOperand(String id, IResourceContext context) throws InvalidArgumentException
IRelationOperandType
getOperand
in interface IRelationOperandType
id
- the String
with the unique id of the operand to get.context
- the IResouceContext
to use for retrieving the
operand.IRelationOperand
for the given id.InvalidArgumentException
- Exception raised in failure situationpublic IRelationOperand getOperand(Object object) throws InvalidArgumentException
IRelationOperandType
getOperand
in interface IRelationOperandType
object
- TBD: Description of the incoming method parameterIRelationOperand
for the given object.InvalidArgumentException
- Exception raised in failure situationAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice