public interface CPAObject extends Comparable<CPAObject>
The CPAObject
is the central interface that is implemented by all actual CPA Object types. It is used
as parameters and return values for all lookup methods.
Modifier and Type | Method and Description |
---|---|
String |
getObjectId() |
String |
getObjectName() |
CPAObjectType |
getObjectType() |
String |
getStringRepresentation()
Creates a detailed String representation of the complete
CPAObject . |
Object |
getValue(String name)
Returns a specific value field's data, identified by the given name (as Object).
|
BinaryData |
getValueAsBinary(String name)
Returns a specific value field's data, identified by the given name (as Binary data).
|
boolean |
getValueAsBoolean(String name)
Returns a specific value field's data, identified by the given name (as boolean).
|
Date |
getValueAsDate(String name)
Returns a specific value field's data, identified by the given name (as Datea).
|
int |
getValueAsInt(String name)
Returns a specific value field's data, identified by the given name (as int).
|
Integer |
getValueAsIntObject(String name)
Returns a specific value field's data, identified by the given name (as int).
|
long |
getValueAsLong(String name)
Returns a specific value field's data, identified by the given name (as long).
|
Long |
getValueAsLongObject(String name)
Returns a specific value field's data, identified by the given name (as long).
|
String |
getValueAsString(String name)
Returns a specific value field's data, identified by the given name (as String).
|
TableData |
getValueAsTable(String name)
Returns a specific value field's data, identified by the given name (as Table data).
|
Timestamp |
getValueAsTimestamp(String name)
Returns a specific value field's data, identified by the given name (as Timestamp).
|
boolean |
isPassword(String name)
Checks if the given field is a password.
|
compareTo
String getObjectId()
String getObjectName()
CPAObjectType getObjectType()
Object getValue(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.boolean isPassword(String name) throws CPAException
name
- The name of the field to check.CPAException
- In case no suitable object was found in the cpa cache.String getValueAsString(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.int getValueAsInt(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.Integer getValueAsIntObject(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.long getValueAsLong(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.Long getValueAsLongObject(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.boolean getValueAsBoolean(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.BinaryData getValueAsBinary(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.TableData getValueAsTable(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.Timestamp getValueAsTimestamp(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.Date getValueAsDate(String name) throws CPAException
name
- The name of the requested value data.CPAException
- In case no suitable object was found in the cpa cache.String getStringRepresentation()
CPAObject
.CPAObject
.Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice