public interface Profile
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_GENERIC_PROFILE_Assocations
Keys of generic profiles.
|
static java.lang.String |
KEY_GENERIC_PROFILE_AuditLog |
static java.lang.String |
KEY_GENERIC_PROFILE_Classifications |
static java.lang.String |
KEY_GENERIC_PROFILE_Consumers |
static java.lang.String |
KEY_GENERIC_PROFILE_ExternalLinks |
static java.lang.String |
KEY_GENERIC_PROFILE_Notifications |
static java.lang.String |
KEY_GENERIC_PROFILE_ObjectSpecificProperties |
static java.lang.String |
KEY_GENERIC_PROFILE_Permissions |
static java.lang.String |
KEY_GENERIC_PROFILE_Versions |
static java.lang.String |
SLOT_ATTRIBUTES
Name of the Slot storing associated with the profile attribute names.
|
static java.lang.String |
SLOT_PROFILE_ID
Name of the Slot storing the profile sequence number.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(AttributeDescription attribute)
Adds an attribute to the given profile.
|
java.util.Collection<java.lang.String> |
getAttributeNames()
Retrieves all names of attributes associated with th profile.
|
java.util.Collection<AttributeDescription> |
getAttributes()
Gets all attributes of the profile.
|
java.lang.String |
getDescription()
Returns the registry object description.
|
java.lang.String |
getKey()
Retrieves the key of this profile object.
|
java.lang.String |
getName()
Returns the registry objects name.
|
int |
getSequenceNumber()
Retrieves this profiles's sequence number inside the type it belongs to.
|
boolean |
isPredefined()
Checks if this profile is one of the predefined ones.
|
void |
removeAttribute(AttributeDescription attribute)
Removes an attribute from the given profile.
|
void |
setDescription(java.lang.String pDescription)
Sets the registry objects description.
|
void |
setName(java.lang.String pName)
Sets the registry object name.
|
static final java.lang.String SLOT_PROFILE_ID
static final java.lang.String SLOT_ATTRIBUTES
static final java.lang.String KEY_GENERIC_PROFILE_Assocations
static final java.lang.String KEY_GENERIC_PROFILE_AuditLog
static final java.lang.String KEY_GENERIC_PROFILE_Classifications
static final java.lang.String KEY_GENERIC_PROFILE_Consumers
static final java.lang.String KEY_GENERIC_PROFILE_ExternalLinks
static final java.lang.String KEY_GENERIC_PROFILE_Notifications
static final java.lang.String KEY_GENERIC_PROFILE_ObjectSpecificProperties
static final java.lang.String KEY_GENERIC_PROFILE_Permissions
static final java.lang.String KEY_GENERIC_PROFILE_Versions
java.lang.String getKey() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.int getSequenceNumber() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.java.util.Collection<java.lang.String> getAttributeNames() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.boolean isPredefined() throws CSAppFrameworkException
true
if the profile is predefined.CSAppFrameworkException
- if an internal error occurs.java.lang.String getName() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.void setName(java.lang.String pName) throws CSAppFrameworkException
pName
- the registry object name.CSAppFrameworkException
- if an internal error occurs.java.lang.String getDescription() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.void setDescription(java.lang.String pDescription) throws CSAppFrameworkException
pDescription
- the registry object description.CSAppFrameworkException
- if an internal error occurs.java.util.Collection<AttributeDescription> getAttributes() throws CSAppFrameworkException
CSAppFrameworkException
- if an internal error occurs.void addAttribute(AttributeDescription attribute) throws CSAppFrameworkException
attribute
- the attribute.CSAppFrameworkException
- if an internal error occurs.void removeAttribute(AttributeDescription attribute) throws CSAppFrameworkException
attribute
- the attribute.CSAppFrameworkException
- if an internal error occurs.