com.ibm.portal.um
Interface AttributeDefinition


public interface AttributeDefinition

Represents the basic setup of an Attribute.

Since:
6.0

Field Summary
static java.lang.String BYTEARRAY
          Represents the Bytearray type for an Attribute
static java.lang.String DOUBLE
          Represents the Double type for an Attribute
static java.lang.String INTEGER
          Represents the Integer type for an Attribute
static java.lang.String LONG
          Represents the Long type for an Attribute
static java.lang.String MEMBERDN
          Represents the DN of a Member type for an Attribute
static java.lang.String OBJECT
          Represents the Object type for an Attribute
static java.lang.String STRING
          Represents the String type for an Attribute
static java.lang.String TIMESTAMP
          Represents the String Timestamp for an Attribute
 
Method Summary
 java.lang.String getName()
          Returns the name of the corresponding attribute as String
 java.lang.String getType()
          Returns the return type of the corresponding attribute as String
 boolean isMultiValued()
          Returns true if the Attribute represented by this object is multivalued
 boolean isReadOnly()
          Returns true if the Attribute represented by this object is read-only
 boolean isRequired()
          Returns true if this AttributeDefinition represents a mandatory attribute
 

Field Detail

STRING

static final java.lang.String STRING
Represents the String type for an Attribute

See Also:
Constant Field Values

TIMESTAMP

static final java.lang.String TIMESTAMP
Represents the String Timestamp for an Attribute

See Also:
Constant Field Values

BYTEARRAY

static final java.lang.String BYTEARRAY
Represents the Bytearray type for an Attribute

See Also:
Constant Field Values

INTEGER

static final java.lang.String INTEGER
Represents the Integer type for an Attribute

See Also:
Constant Field Values

LONG

static final java.lang.String LONG
Represents the Long type for an Attribute

See Also:
Constant Field Values

DOUBLE

static final java.lang.String DOUBLE
Represents the Double type for an Attribute

See Also:
Constant Field Values

OBJECT

static final java.lang.String OBJECT
Represents the Object type for an Attribute

See Also:
Constant Field Values

MEMBERDN

static final java.lang.String MEMBERDN
Represents the DN of a Member type for an Attribute

See Also:
Constant Field Values
Method Detail

getType

java.lang.String getType()
Returns the return type of the corresponding attribute as String

Returns:
the Type of this AttributeDefinition

getName

java.lang.String getName()
Returns the name of the corresponding attribute as String

Returns:
the name of the AttributeDefinition

isMultiValued

boolean isMultiValued()
Returns true if the Attribute represented by this object is multivalued

Returns:
true if this attribute is capable of multiple values

isReadOnly

boolean isReadOnly()
Returns true if the Attribute represented by this object is read-only

Returns:
true if this attribute is read-only

isRequired

boolean isRequired()
Returns true if this AttributeDefinition represents a mandatory attribute

Returns:
true if this Attribute needs to be set