public class StringOperand extends AbstractRelationOperand
IRelationOperand implementation for String s. | Constructor and Description |
|---|
StringOperand(String string)
Create a
StringOperand out of a String . |
| Modifier and Type | Method and Description |
|---|---|
IResource |
asResource()
Get the relation operand as resource, if this operand is managed by a
repository manager.
|
boolean |
equals(Object object) |
String |
getID()
Get the relation operand's unique id.
|
Object |
getObject()
Get the relation operand's unwrapped object.
|
IRelationOperandType |
getType()
Get the relation operand's type.
|
String |
getValue()
Get the wrapped string.
|
int |
hashCode() |
getRelationBySource, getRelationByTarget, getRelationsBySource, getRelationsBySource, getRelationsBySource, getRelationsByTarget, getRelationsByTarget, getRelationsByTargetpublic StringOperand(String string) throws InvalidArgumentException
StringOperand out of a String .string - the String to wrap.InvalidArgumentException - , if the given string is
null .public String getValue()
String for this operand.public IRelationOperandType getType() throws ResourceException
IRelationOperandgetType in interface IRelationOperandgetType in class AbstractRelationOperandIRelationOperandType with the type of this operand.ResourceException - an error occured while retrieving
the operand's type.public String getID() throws ResourceException
IRelationOperandgetID in interface IRelationOperandgetID in class AbstractRelationOperandString with the unique id of this operand. the id is
only unique within the operand's type.ResourceException - an error occured while retrieving
the operand's id.public Object getObject()
IRelationOperandgetObject in interface IRelationOperandgetObject in class AbstractRelationOperandObject with the unwrapped operand, referenced by
this IRelationOperand .public IResource asResource() throws ResourceException
IRelationOperandasResource in interface IRelationOperandasResource in class AbstractRelationOperandIResource with the resource represented by this
operand. returns null , if this operand can not be
converted to a resource.ResourceException - an error occured while retrieving
the operand's resource.| Access 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 2021 SAP SE Complete Copyright Notice