public class CPAObjectType<T extends CPAObject> extends Object implements Serializable
The CPAObjectType
is a typed enumeration class that lists the different CPAObject types known by the
CPA cache service. The following CPAObjectTypes exist:
Modifier and Type | Field and Description |
---|---|
static CPAObjectType<Binding> |
BINDING |
static CPAObjectType<BindingUser> |
BINDING_USER |
static CPAObjectType<Channel> |
CHANNEL |
static CPAObjectType<ModuleConfig> |
MODULE_CONFIG |
static CPAObjectType<Party> |
PARTY |
static CPAObjectType<PartyIdentifier> |
PARTY_IDENTIFIER |
static CPAObjectType<Service> |
SERVICE |
static CPAObjectType<ServiceIdentifier> |
SERVICE_IDENTIFIER |
static CPAObjectType<ServiceUser> |
SERVICE_USER |
Modifier | Constructor and Description |
---|---|
protected |
CPAObjectType(String value)
The default constructor for
CPAObjectType is private. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static CPAObjectType[] |
getAllCPAObjectTypes() |
int |
hashCode() |
protected Object |
readResolve() |
String |
toString()
Returns the string representation of the CPAObjectType.
|
static CPAObjectType |
valueOf(String s)
Returns an instance of
CPAObjectType that represents the CPA object type given as a string. |
public static final CPAObjectType<Party> PARTY
public static final CPAObjectType<PartyIdentifier> PARTY_IDENTIFIER
public static final CPAObjectType<Service> SERVICE
public static final CPAObjectType<ServiceIdentifier> SERVICE_IDENTIFIER
public static final CPAObjectType<ServiceUser> SERVICE_USER
public static final CPAObjectType<Channel> CHANNEL
public static final CPAObjectType<Binding> BINDING
public static final CPAObjectType<BindingUser> BINDING_USER
public static final CPAObjectType<ModuleConfig> MODULE_CONFIG
protected CPAObjectType(String value)
CPAObjectType
is private. Only the public static constants can be used
(typed enumeration pattern).value
- One of the constants for the different known CPA object types.public String toString()
CPAObjectType
instance by a call to valueOf(String)
.toString
in class Object
valueOf(String)
public static CPAObjectType valueOf(String s)
CPAObjectType
that represents the CPA object type given as a string. This
will typically be used to create a CPAObjectType
object from a string retrieved from the database.s
- The String representation where the CPAObjectType
is to be created from.NullPointerException
- if the argument is null
.IllegalArgumentException
- if the argument is not a known CPAObjectType.public static CPAObjectType[] getAllCPAObjectTypes()
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
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