|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeIF
Nested Class Summary | |
---|---|
static class |
AttributeIF.Access
|
Method Summary | |
---|---|
boolean |
allowMultivalue()
Return TRUE if the Attribute allows multivalues. |
AttributeIF |
copy()
Returns a copy of the instance. |
AttributeIF.Access |
getAccess()
Get the Attributes Access level. |
java.lang.String |
getAccessAsString()
Get the String representation of the Attributes Access level. |
java.lang.String |
getName()
Get the Attributes name. |
java.util.Properties |
getProperties()
Returns the Properties for the Attribute. |
int |
getPropertiesSize()
Returns the quantity of Properties. |
java.lang.String |
getProperty(java.lang.String key)
Get the Property value from the Attribute. |
State |
getState()
Get the Attributes State. |
DataType |
getType()
Get the Attributes type. |
java.lang.String |
getTypeAsString()
Get the Attributes type, as a String. |
java.lang.Object |
getValue()
Get the Attributes value. |
java.lang.String |
getValueAsString()
Get the attributes value as a String, regardless of it's internal type. |
boolean |
isEncrypted()
Returns TRUE if the value is encrypted. |
boolean |
isMultivalued()
Return TRUE if the actual value is contains muliple values. |
boolean |
isReadOnly()
Get the Attributes read only flag. |
boolean |
isRequired()
Get the Attributes required flag. |
boolean |
isVirtual()
Get the Attributes virtual flag. |
void |
setAccess(AttributeIF.Access access)
Set the Attributes Access level. |
void |
setAccess(java.lang.String access)
Set the Attribute Access level. |
void |
setAllowMultivalue(boolean value)
Set the flag to define if the Attribute allows multivalues. |
void |
setEncrypted(boolean bEncrypted)
Set the flag to define if the Attribute value is encrypted. |
void |
setProperties(java.util.Properties props)
Sets / Replaces the Attributes Properties. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Add the key / value as a Property to the Attribute. |
void |
setReadOnly(boolean value)
Set the Attributes read only flag. |
void |
setRequired(boolean bool)
Set the Attributes required flag. |
void |
setState(State state)
Set the Attributes State. |
void |
setType(DataType type)
Set the Attributes type (enum). |
void |
setValue(boolean value)
Set the Attributes value to a single Boolean. |
void |
setValue(java.lang.Boolean value)
Set the Attributes value to a single Boolean. |
void |
setValue(boolean[] value)
Set the Attributes value to a Boolean array. |
void |
setValue(java.lang.Boolean[] value)
Set the Attributes value to a Boolean array. |
void |
setValue(int value)
Set the Attributes value to a single Integer. |
void |
setValue(int[] value)
Set the Attributes value to a Integer array. |
void |
setValue(java.lang.Integer value)
Set the Attributes value to a single Integer. |
void |
setValue(java.lang.Integer[] value)
Set the Attributes value to a Integer array. |
void |
setValue(java.lang.Object value)
Set the Attributes value to the single Object. |
void |
setValue(java.lang.Object[] value)
Set the Attributes value to the Object array. |
void |
setValue(java.lang.String value)
Set the Attributes value to a single String. |
void |
setValue(java.lang.String[] value)
Set the Attributes value to a String array. |
void |
setVirtual(boolean bool)
Set the Attributes virtual flag. |
Method Detail |
---|
boolean allowMultivalue()
AttributeIF copy()
AttributeIF.Access getAccess()
java.lang.String getAccessAsString()
java.lang.String getName()
java.util.Properties getProperties()
int getPropertiesSize()
java.lang.String getProperty(java.lang.String key)
key
- the name of the Property
State getState()
DataType getType()
java.lang.String getTypeAsString()
java.lang.Object getValue()
java.lang.String getValueAsString()
boolean isEncrypted()
boolean isMultivalued()
boolean isReadOnly()
boolean isRequired()
boolean isVirtual()
void setAccess(AttributeIF.Access access)
access
- Access levelvoid setAccess(java.lang.String access)
access
- String representation of the levelvoid setAllowMultivalue(boolean value)
value
- void setEncrypted(boolean bEncrypted)
bEncrypted
- void setProperties(java.util.Properties props)
props
- a Properties objectvoid setProperty(java.lang.String key, java.lang.String value)
key
- the name of the Propertyvalue
- the value of the Propertyvoid setReadOnly(boolean value)
value
- flag to define if the Attribute is read onlyvoid setRequired(boolean bool)
bool
- flag to define if the Attribute is requiredvoid setState(State state)
state
- Statevoid setType(DataType type)
type
- DataTypevoid setValue(boolean value)
value
- booleanvoid setValue(java.lang.Boolean value)
value
- Booleanvoid setValue(boolean[] value)
value
- boolean[]void setValue(java.lang.Boolean[] value)
value
- Boolean[]void setValue(int value)
value
- intvoid setValue(int[] value)
value
- int[]void setValue(java.lang.Integer value)
value
- Integervoid setValue(java.lang.Integer[] value)
value
- Integer[]void setValue(java.lang.Object value)
value
- Objectvoid setValue(java.lang.Object[] value)
value
- Object[]void setValue(java.lang.String value)
value
- Stringvoid setValue(java.lang.String[] value)
value
- String[]void setVirtual(boolean bool)
bool
- flag to define if the Attribute is virtual
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |