Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


oracle.igf.ids.config
Class AttributeDef

java.lang.Object
  extended by oracle.igf.ids.config.AttributeDef


public class AttributeDef
extends java.lang.Object

Class for defining the Attributes. Attribute definition includes name, description, data type, is read-only, and is password attribute.


Nested Class Summary
static class AttributeDef.DataType
          Attribute data type

 

Constructor Summary
AttributeDef(java.lang.String name, AttributeDef.DataType dataType)
          Constructs Attribute definition.
AttributeDef(java.lang.String name, AttributeDef.DataType dataType, java.lang.String description, boolean readOnly, boolean pwdAttr)
          Constructs attribute definition

 

Method Summary
 boolean equals(java.lang.Object obj)
          Checks if the given object is equals to this one
 AttributeDef.DataType getDataType()
          Gets attribute data type
 java.lang.String getDescription()
          Gets attribute description
 java.lang.String getName()
          Gets name of the attribute
 boolean isPwdAttr()
          Gets pwdAttr value.
 boolean isReadOnly()
          Gets readOnly value.
 void setDataType(AttributeDef.DataType dataType)
          Sets attribute data type
 void setDescription(java.lang.String description)
          Sets attribute description
 void setPwdAttr(boolean pwdAttr)
          Sets pwdAttr value
 void setReadOnly(boolean readOnly)
          Sets readOnly value

 

Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AttributeDef

public AttributeDef(java.lang.String name,
                    AttributeDef.DataType dataType,
                    java.lang.String description,
                    boolean readOnly,
                    boolean pwdAttr)
Constructs attribute definition
Parameters:
name - Name of the attribute
dataType - Data type of the attribute
description - Attribute description
readOnly - Is attribute read-only?
pwdAttr - Is it password attribute?

AttributeDef

public AttributeDef(java.lang.String name,
                    AttributeDef.DataType dataType)
Constructs Attribute definition. Attribute is defaulted to read-write and non-password attribute.
Parameters:
name - Name of the attribute
dataType - Data type of the attribute

Method Detail

getName

public java.lang.String getName()
Gets name of the attribute
Returns:
attribute name

setDescription

public void setDescription(java.lang.String description)
Sets attribute description
Parameters:
description - Attribute description

getDescription

public java.lang.String getDescription()
Gets attribute description
Returns:
attribute description

setDataType

public void setDataType(AttributeDef.DataType dataType)
Sets attribute data type
Parameters:
dataType - Valid AttributeDef.DataType of the attribute

getDataType

public AttributeDef.DataType getDataType()
Gets attribute data type
Returns:
attribute data type

setReadOnly

public void setReadOnly(boolean readOnly)
Sets readOnly value
Parameters:
readOnly - true if attribute is read-only ; false otherwise

isReadOnly

public boolean isReadOnly()
Gets readOnly value. Default is false.
Returns:
true if read-only ; false otherwise

setPwdAttr

public void setPwdAttr(boolean pwdAttr)
Sets pwdAttr value
Parameters:
pwdAttr - true if attribute is password attr ; false otherwise

isPwdAttr

public boolean isPwdAttr()
Gets pwdAttr value. Default is false.
Returns:
true if password attribute ; false otherwise

equals

public boolean equals(java.lang.Object obj)
Checks if the given object is equals to this one
Overrides:
equals in class java.lang.Object
Returns:
true if equals; false otherwise

Skip navigation links

Oracle Fusion Middleware Identity Governance Framework Identity Directory Java API Reference
11 g Release 2 (11.1.2)

E27140-01


Copyright © 2012 Oracle. All Rights Reserved.