com.sap.aii.af.service.cpa
Class CPAObjectType<T extends CPAObject>
java.lang.Object
com.sap.aii.af.service.cpa.CPAObjectType<T>
- All Implemented Interfaces:
- Serializable
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:
- PARTY
- PARTY_IDENTIFER
- SERVICE
- SERVICE_IDENTIFIER
- CHANNEL
- BINDING
- BINDING_USER
- MODULE_CONFIG
- See Also:
- Serialized Form
|
Constructor Summary |
protected |
CPAObjectType(String value)
The default constructor for CPAObjectType is private. |
PARTY
public static final CPAObjectType<Party> PARTY
PARTY_IDENTIFIER
public static final CPAObjectType<PartyIdentifier> PARTY_IDENTIFIER
SERVICE
public static final CPAObjectType<Service> SERVICE
SERVICE_IDENTIFIER
public static final CPAObjectType<ServiceIdentifier> SERVICE_IDENTIFIER
SERVICE_USER
public static final CPAObjectType<ServiceUser> SERVICE_USER
CHANNEL
public static final CPAObjectType<Channel> CHANNEL
BINDING
public static final CPAObjectType<Binding> BINDING
BINDING_USER
public static final CPAObjectType<BindingUser> BINDING_USER
MODULE_CONFIG
public static final CPAObjectType<ModuleConfig> MODULE_CONFIG
CPAObjectType
protected CPAObjectType(String value)
- The default constructor for
CPAObjectType is private. Only the public static constants can be used
(typed enumeration pattern).
- Parameters:
value - One of the constants for the different known CPA object types.
toString
public String toString()
- Returns the string representation of the CPAObjectType. This value can be used to get a
CPAObjectType
instance by a call to valueOf(String).
- Overrides:
toString in class Object
- Returns:
- The String representation of the CPAObjectType.
- See Also:
valueOf(String)
valueOf
public static CPAObjectType valueOf(String s)
- Returns an instance of
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.
- Parameters:
s - The String representation where the CPAObjectType is to be created from.
- Throws:
NullPointerException - if the argument is null.
IllegalArgumentException - if the argument is not a known CPAObjectType.
getAllCPAObjectTypes
public static CPAObjectType[] getAllCPAObjectTypes()
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.svc.facade
|
api
|
BC-XI
|
Copyright 2011 SAP AG Complete Copyright Notice