Skip navigation links


com.thortech.xl.gc.vo.designtime
Class Attribute

java.lang.Object
  extended by com.thortech.xl.gc.vo.designtime.Attribute

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AttributeWithSource

public class Attribute
extends java.lang.Object
implements java.io.Serializable

This class is a value object that represents an identity attribute that could be a parent(single valued) or a child (multi-valued). Once the attributes of the identity account residing in Source target are detected and parsed to an Oracle Identity Manager-compliant structure, which is OIMSchema, they are represented by this value object.

See Also:
OIMSchema, Serialized Form

Constructor Summary
Attribute()
           

 

Method Summary
 void add(Attribute attr)
           
 void addValidation(Validation val)
           
 void copyBasicAttributes(Attribute a)
           
 java.util.ArrayList getChildDataFields()
          This method returns the internal metadata of a child dataset
 boolean getEncrypted()
          This method returns the flag capturing information of whether the attribute is encrypted.
 java.lang.String getFormName()
          This method returns Oracle Identity Manager child process form name for this attribute, if multi-valued
 boolean getRequired()
          This method returns the flag capturing information of whether the attribute is required.
 java.lang.String getStrDefaultValue()
          This method returns the default value of the attribute.
 java.lang.String getStrName()
          This method returns name of the attribute.
 java.lang.String getStrOrder()
          This method returns the order of the attribute in its dataset.
 int getStrSize()
          This method returns size of the attribute
 java.lang.String getStrType()
          This method returns data type of the attribute.
 java.util.ArrayList getValidationList()
          This method returns the list of all validations.
 boolean isBlPassword()
           
 boolean isMultiValued()
          This method returns information whether the attribute is multi-valued
 void setBlPassword(boolean blPassword)
           
 void setChildDataFields(java.util.ArrayList childDataFields)
           
 void setEncrypted(boolean _blEncrypted)
           
 void setFormName(java.lang.String formName)
           
 void setMultiValued()
           
 void setMultiValued(boolean isMultiValued)
           
 void setRequired(boolean _blRequired)
           
 void setStrDefaultValue(java.lang.String strDefaultValue)
           
 void setStrName(java.lang.String strName)
           
 void setStrOrder(java.lang.String strOrder)
           
 void setStrSize(int _strSize)
           
 void setStrType(java.lang.String strType)
           
 void setValidationList(java.util.ArrayList validationList)
           

 

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

 

Constructor Detail

Attribute

public Attribute()

Method Detail

setStrSize

public void setStrSize(int _strSize)

getStrSize

public int getStrSize()
This method returns size of the attribute
Returns:
Size of the attribute

setRequired

public void setRequired(boolean _blRequired)

getRequired

public boolean getRequired()
This method returns the flag capturing information of whether the attribute is required.
Returns:
Flag capturing information of whether the attribute is required. The The default value is "false".

setEncrypted

public void setEncrypted(boolean _blEncrypted)

getEncrypted

public boolean getEncrypted()
This method returns the flag capturing information of whether the attribute is encrypted. The default value is "false"
Returns:
Flag capturing information of whether the attribute is encrypted. The default value is "false"

getStrName

public java.lang.String getStrName()
This method returns name of the attribute.
Returns:
Name of the attribute

setStrName

public void setStrName(java.lang.String strName)

getStrDefaultValue

public java.lang.String getStrDefaultValue()
This method returns the default value of the attribute.
Returns:
Default value of the attribute

setStrDefaultValue

public void setStrDefaultValue(java.lang.String strDefaultValue)

getStrType

public java.lang.String getStrType()
This method returns data type of the attribute.
Returns:
Data type of the attribute. Currently, the supported values are "String" and "Boolean".

setStrType

public void setStrType(java.lang.String strType)

getStrOrder

public java.lang.String getStrOrder()
This method returns the order of the attribute in its dataset. The order of multi-valued attributes within their parent dataset does not have any relevance.
Returns:
Sequence number of the attribute considering all attributes within a dataset, arranged in Ascending Order.

setStrOrder

public void setStrOrder(java.lang.String strOrder)

getValidationList

public java.util.ArrayList getValidationList()
This method returns the list of all validations.
Returns:
List of all validations. Each element of this list is an instance of the value object Validation.

setValidationList

public void setValidationList(java.util.ArrayList validationList)

addValidation

public void addValidation(Validation val)

getChildDataFields

public java.util.ArrayList getChildDataFields()
This method returns the internal metadata of a child dataset
Returns:
List of all the single-valued attribute elements of a multi-valued attribute (child dataset). Therefore, the list will be populated only if the flag "isMultiValued" has a value "true". E.g. For a multi-valued attribute "Role" for a user in the target, single-valued attribute elements could be the name of the role and its nature. The List "childDataFields" would then contain "Role Name" and "Role Type".

setChildDataFields

public void setChildDataFields(java.util.ArrayList childDataFields)

isMultiValued

public boolean isMultiValued()
This method returns information whether the attribute is multi-valued
Returns:
Flag capturing information of whether the attribute is multi-valued. The default value is "false".

setMultiValued

public void setMultiValued(boolean isMultiValued)

setMultiValued

public void setMultiValued()

add

public void add(Attribute attr)

copyBasicAttributes

public void copyBasicAttributes(Attribute a)

getFormName

public java.lang.String getFormName()
This method returns Oracle Identity Manager child process form name for this attribute, if multi-valued
Returns:
Name of the Oracle Identity Manager process form, corresponding to the child table that will be created by the generic technology connector framework for the relevant multi-valued attribute/child dataset. It must start with "UD_" prefix. This variable holds good only if the attribute is multi-valued(flag "isMultiValued" has a value "true")

setFormName

public void setFormName(java.lang.String formName)
Parameters:
formName - The formName to set.

isBlPassword

public boolean isBlPassword()

setBlPassword

public void setBlPassword(boolean blPassword)

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.