|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 1 (11.1.1) E22649-02 ESAPI |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.jps.service.policystore.info.BasicAttributeEntry<T>
T -public class BasicAttributeEntry<T extends DataType>
A class to hold an in-memory attribute object. For example,
AttributeEntry<OpssString> attr = new BasicAttributeEntry<OpssString>("nick_name", new OpssString("Big"));
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.AttributeEntry |
|---|
AttributeEntry.AttributeCategory |
| Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent |
|---|
ExpressionComponent.Type |
| Constructor Summary | |
|---|---|
BasicAttributeEntry(java.lang.String name, java.lang.Class<T> type)Constructor |
|
BasicAttributeEntry(java.lang.String name, java.util.List<T> values)Constructor |
|
BasicAttributeEntry(java.lang.String name, T value)Constructor |
|
| Method Summary | |
|---|---|
AttributeEntry.AttributeCategory |
getAttributeCategory()Gets the attribute category |
java.lang.Class<? extends DataType> |
getAttributeType()Gets attribute data type |
ExpressionComponent.Type |
getComponentType()Returns type of the component. |
java.lang.String |
getDescription()Gets description of the attribute |
java.lang.String |
getDisplayName()Gets display name of the attribute |
java.util.List<T> |
getMultipleValue()Gets all values of the attribute if it has more than one |
java.lang.String |
getName()Gets name of the attribute |
T |
getValue()Gets the value of the attribute if it has a single value |
boolean |
isBuiltInAttribute()if it is a built-in attribute, return true, else, return false |
boolean |
isSingleValue()Checks if the attribute is single value |
boolean |
isValid() |
void |
setAttributeCategory(AttributeEntry.AttributeCategory category)Sets the category of attribute |
void |
setDescription(java.lang.String description)Sets description to the attribute |
void |
setDisplayName(java.lang.String displayName)Sets display name to the attribute |
void |
setMultipleValue(java.util.List<T> values)Set the multiple values to this attribute |
void |
setValue(T value)Sets a single value to the attribute |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicAttributeEntry(java.lang.String name,
T value)
name - the name of attribtuevalue - the value of attribtue
public BasicAttributeEntry(java.lang.String name,
java.util.List<T> values)
name - the name of attributevalues - the value of attribute
public BasicAttributeEntry(java.lang.String name,
java.lang.Class<T> type)
name -type -| Method Detail |
|---|
public boolean isBuiltInAttribute()
AttributeEntryisBuiltInAttribute in interface AttributeEntry<T extends DataType>public java.lang.String getName()
getName in interface AttributeEntry<T extends DataType>public AttributeEntry.AttributeCategory getAttributeCategory()
getAttributeCategory in interface AttributeEntry<T extends DataType>public void setAttributeCategory(AttributeEntry.AttributeCategory category)
category - the category of attributepublic boolean isSingleValue()
isSingleValue in interface AttributeEntry<T extends DataType>
public T getValue()
throws PolicyStoreOperationNotAllowedException
getValue in interface AttributeEntry<T extends DataType>PolicyStoreOperationNotAllowedException - if the attribute contains multiple values.
public java.util.List<T> getMultipleValue()
throws PolicyStoreOperationNotAllowedException
getMultipleValue in interface AttributeEntry<T extends DataType>PolicyStoreOperationNotAllowedException - if the attribute contains single value.
public void setValue(T value)
throws PolicyStoreOperationNotAllowedException
setValue in interface AttributeEntry<T extends DataType>value - the attribute valuePolicyStoreOperationNotAllowedException - if the attribute contains multiple values.
public void setMultipleValue(java.util.List<T> values)
throws PolicyStoreOperationNotAllowedException
setMultipleValue in interface AttributeEntry<T extends DataType>values - A list of attribute valuePolicyStoreOperationNotAllowedException - if the attribute contains single value.public java.lang.Class<? extends DataType> getAttributeType()
getAttributeType in interface AttributeEntry<T extends DataType>public java.lang.String getDescription()
getDescription in interface AttributeEntry<T extends DataType>public java.lang.String getDisplayName()
getDisplayName in interface AttributeEntry<T extends DataType>public void setDescription(java.lang.String description)
setDescription in interface AttributeEntry<T extends DataType>public void setDisplayName(java.lang.String displayName)
setDisplayName in interface AttributeEntry<T extends DataType>public ExpressionComponent.Type getComponentType()
ExpressionComponentgetComponentType in interface ExpressionComponentpublic boolean isValid()
|
Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server 11g Release 1 (11.1.1) E22649-02 ESAPI |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||