Package com.iplanet.am.sdk
Class AMAttributeSchema
- java.lang.Object
-
- com.iplanet.am.sdk.AMAttributeSchema
-
public class AMAttributeSchema extends Object
Deprecated.This class has been deprecated. Please usecom.sun.identity.sm.AttributeSchema.The classAMAttributeSchemaprovides the interfaces to obtain meta information about service configuration variable.
-
-
Field Summary
Fields Modifier and Type Field Description static intSYNTAX_BOOLEANDeprecated.TheSYNTAX_BOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalsestatic intSYNTAX_DATEDeprecated.TheSYNTAX_DATEattribute syntax specifies that the attribute should be a datestatic intSYNTAX_DECIMAL_NUMBERDeprecated.TheSYNTAX_DECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.static intSYNTAX_DECIMAL_RANGEDeprecated.TheSYNTAX_DECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range.static intSYNTAX_DNDeprecated.TheSYNTAX_DNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN).static intSYNTAX_EMAILDeprecated.TheSYNTAX_EMAILattribute syntax specifies that the attribute is a email address.static intSYNTAX_ENCRYPTED_PASSWORDDeprecated.TheSYNTAX_ENCRYPTED_PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.static intSYNTAX_NUMBERDeprecated.TheSYNTAX_NUMBERattribute syntax specifies that the attribute is a number.static intSYNTAX_NUMBER_RANGEDeprecated.TheSYNTAX_NUMBER_RANGEattribute syntax specifies that the attribute is a number within a range.static intSYNTAX_NUMERICDeprecated.TheSYNTAX_NUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only.static intSYNTAX_PARAGRAPHDeprecated.TheSYNTAX_PARAGRAPHattribute syntax specifies that the attribute should be a paragraphstatic intSYNTAX_PASSWORDDeprecated.TheSYNTAX_PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.static intSYNTAX_PERCENTDeprecated.TheSYNTAX_PERCENTattribute syntax specifies that the attribute is a percentage.static intSYNTAX_SCRIPTDeprecated.TheSYNTAX_SCRIPTattribute syntax specifies that the attribute should be a scriptstatic intSYNTAX_STRINGDeprecated.TheSYNTAX_STRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode charactersstatic intSYNTAX_URLDeprecated.TheSYNTAX_URLattribute syntax specifies that the attribute is a URL.static intSYNTAX_XMLDeprecated.TheSYNTAX_XMLattribute syntax specifies that the attribute should be a XML blobstatic intTYPE_LISTDeprecated.TheTYPE_LISTattribute type specifies that the attribute can have multiple values, i.e., multi-valued attributestatic intTYPE_MULTIPLE_CHOICEDeprecated.TheTYPE_MULTIPLE_CHOICEattribute type specifies that the attribute can have multiple values defined by thegetChoiceValuesmethod ofAMAttributeSchema.static intTYPE_SIGNATUREDeprecated.TheTYPE_SIGNATUREattribute type specifies that the attribute is a signing attribute.static intTYPE_SINGLEDeprecated.TheTYPE_SINGLEattribute type specifies that the attribute can have only a single valuestatic intTYPE_SINGLE_CHOICEDeprecated.TheTYPE_SINGLE_CHOICEattribute type specifies that the attribute can have value defined by thegetChoiceValuesmethod ofAMAttributeSchema.static intTYPE_VALIDATORDeprecated.TheVALIDATORattribute type specifies that the attribute defines a attribute validator plugin.static intUITYPE_BUTTONDeprecated.TheUITYPE_BUTTONattribute type specifies that the attribute should be display as a button.static intUITYPE_LINKDeprecated.TheUITYPE_LINKattribute type specifies that the attribute should be display as a link.static intUITYPE_RADIODeprecated.TheUITYPE_RADIOattribute type specifies that the attribute should be display as a radio button.static intUITYPE_UNDEFINEDDeprecated.TheUITYPE_UNDEFINEDattribute type specifies that the UI type is not defined.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAMAttributeSchema(AttributeSchema as)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetAny()Deprecated.Method to get service specific attributes.StringgetChoiceValueI18NKey(String cValue)Deprecated.Given a choice value, this method returns the i18nKey for that choice valueString[]getChoiceValues()Deprecated.If the attribute is of choice type, this method returns the possible values for the attribute;nullotherwiseStringgetCosQualifier()Deprecated.Returns the value of thecosQualifierfor this attribute that is default or merge-schemes.SetgetDefaultValues()Deprecated.The method returns the default value of the attribute;StringgetEndRange()Deprecated.Method to get ending range for possible values of the attributeStringgetFalseValue()Deprecated.Method to get string value for "FALSE"StringgetFalseValueI18NKey()Deprecated.Method to get the i18n Key forBooleanFalseValue.StringgetI18NKey()Deprecated.Returns I18N key to describe the configuration attribute.StringgetName()Deprecated.The method returns the name of the attributeStringgetPropertiesViewBeanURL()Deprecated.Returns URL of the view bean for the attribute.StringgetStartRange()Deprecated.Method to get starting range for possible values of the attributeintgetSyntax()Deprecated.The method returns the syntax of the attribute i.e., string, boolean, distinguished name (String), numeric.StringgetTrueValue()Deprecated.Method to get the string value for "TRUE"StringgetTrueValueI18NKey()Deprecated.Method to get the i18n Key forBooleanTrueValue.intgetType()Deprecated.The method returns the type of the attribute i.e., single, list or choiceintgetUIType()Deprecated.The method returns the UI type of the attribute i.e., link, button, ...voidsetI18NKey(String i18nKey)Deprecated.Set I18N key to describe the configuration attributeStringtoString()Deprecated.Method that returns the String representation of theAMAttributeSchema.
-
-
-
Field Detail
-
TYPE_SINGLE
public static final int TYPE_SINGLE
Deprecated.TheTYPE_SINGLEattribute type specifies that the attribute can have only a single value- See Also:
- Constant Field Values
-
TYPE_LIST
public static final int TYPE_LIST
Deprecated.TheTYPE_LISTattribute type specifies that the attribute can have multiple values, i.e., multi-valued attribute- See Also:
- Constant Field Values
-
TYPE_SINGLE_CHOICE
public static final int TYPE_SINGLE_CHOICE
Deprecated.TheTYPE_SINGLE_CHOICEattribute type specifies that the attribute can have value defined by thegetChoiceValuesmethod ofAMAttributeSchema.- See Also:
- Constant Field Values
-
TYPE_MULTIPLE_CHOICE
public static final int TYPE_MULTIPLE_CHOICE
Deprecated.TheTYPE_MULTIPLE_CHOICEattribute type specifies that the attribute can have multiple values defined by thegetChoiceValuesmethod ofAMAttributeSchema.- See Also:
- Constant Field Values
-
TYPE_SIGNATURE
public static final int TYPE_SIGNATURE
Deprecated.TheTYPE_SIGNATUREattribute type specifies that the attribute is a signing attribute.- See Also:
- Constant Field Values
-
TYPE_VALIDATOR
public static final int TYPE_VALIDATOR
Deprecated.TheVALIDATORattribute type specifies that the attribute defines a attribute validator plugin.- See Also:
- Constant Field Values
-
UITYPE_RADIO
public static final int UITYPE_RADIO
Deprecated.TheUITYPE_RADIOattribute type specifies that the attribute should be display as a radio button.- See Also:
- Constant Field Values
-
UITYPE_LINK
public static final int UITYPE_LINK
Deprecated.TheUITYPE_LINKattribute type specifies that the attribute should be display as a link.- See Also:
- Constant Field Values
-
UITYPE_BUTTON
public static final int UITYPE_BUTTON
Deprecated.TheUITYPE_BUTTONattribute type specifies that the attribute should be display as a button.- See Also:
- Constant Field Values
-
UITYPE_UNDEFINED
public static final int UITYPE_UNDEFINED
Deprecated.TheUITYPE_UNDEFINEDattribute type specifies that the UI type is not defined.- See Also:
- Constant Field Values
-
SYNTAX_BOOLEAN
public static final int SYNTAX_BOOLEAN
Deprecated.TheSYNTAX_BOOLEANattribute syntax specifies that the attribute is of boolean type, i.e., can have a value of eithertrueorfalse- See Also:
- Constant Field Values
-
SYNTAX_EMAIL
public static final int SYNTAX_EMAIL
Deprecated.TheSYNTAX_EMAILattribute syntax specifies that the attribute is a email address.- See Also:
- Constant Field Values
-
SYNTAX_URL
public static final int SYNTAX_URL
Deprecated.TheSYNTAX_URLattribute syntax specifies that the attribute is a URL.- See Also:
- Constant Field Values
-
SYNTAX_STRING
public static final int SYNTAX_STRING
Deprecated.TheSYNTAX_STRINGattribute syntax specifies that the attribute is of text type, i.e., can have any unicode characters- See Also:
- Constant Field Values
-
SYNTAX_PASSWORD
public static final int SYNTAX_PASSWORD
Deprecated.TheSYNTAX_PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.- See Also:
- Constant Field Values
-
SYNTAX_NUMERIC
public static final int SYNTAX_NUMERIC
Deprecated.TheSYNTAX_NUMERICattribute syntax specifies that the attribute is numeric, i.e., can have numbers only.- See Also:
- Constant Field Values
-
SYNTAX_NUMBER
public static final int SYNTAX_NUMBER
Deprecated.TheSYNTAX_NUMBERattribute syntax specifies that the attribute is a number.- See Also:
- Constant Field Values
-
SYNTAX_PERCENT
public static final int SYNTAX_PERCENT
Deprecated.TheSYNTAX_PERCENTattribute syntax specifies that the attribute is a percentage.- See Also:
- Constant Field Values
-
SYNTAX_NUMBER_RANGE
public static final int SYNTAX_NUMBER_RANGE
Deprecated.TheSYNTAX_NUMBER_RANGEattribute syntax specifies that the attribute is a number within a range.- See Also:
- Constant Field Values
-
SYNTAX_DECIMAL_RANGE
public static final int SYNTAX_DECIMAL_RANGE
Deprecated.TheSYNTAX_DECIMAL_RANGEattribute syntax specifies that the attribute is a decimal number within a range.- See Also:
- Constant Field Values
-
SYNTAX_DECIMAL_NUMBER
public static final int SYNTAX_DECIMAL_NUMBER
Deprecated.TheSYNTAX_DECIMAL_NUMBERattribute syntax specifies that the attribute is a floating point number, e.g., 1.5, 3.56, etc.- See Also:
- Constant Field Values
-
SYNTAX_DN
public static final int SYNTAX_DN
Deprecated.TheSYNTAX_DNattribute syntax specifies that the attribute should be an LDAP distinguished name (DN).- See Also:
- Constant Field Values
-
SYNTAX_PARAGRAPH
public static final int SYNTAX_PARAGRAPH
Deprecated.TheSYNTAX_PARAGRAPHattribute syntax specifies that the attribute should be a paragraph- See Also:
- Constant Field Values
-
SYNTAX_DATE
public static final int SYNTAX_DATE
Deprecated.TheSYNTAX_DATEattribute syntax specifies that the attribute should be a date- See Also:
- Constant Field Values
-
SYNTAX_XML
public static final int SYNTAX_XML
Deprecated.TheSYNTAX_XMLattribute syntax specifies that the attribute should be a XML blob- See Also:
- Constant Field Values
-
SYNTAX_ENCRYPTED_PASSWORD
public static final int SYNTAX_ENCRYPTED_PASSWORD
Deprecated.TheSYNTAX_ENCRYPTED_PASSWORDattribute syntax specifies that the attribute is of password type, will be used by UI to mask the password typed.- See Also:
- Constant Field Values
-
SYNTAX_SCRIPT
public static final int SYNTAX_SCRIPT
Deprecated.TheSYNTAX_SCRIPTattribute syntax specifies that the attribute should be a script- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AMAttributeSchema
protected AMAttributeSchema(AttributeSchema as)
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.The method returns the name of the attribute- Returns:
- name of the attribute
-
getType
public int getType()
Deprecated.The method returns the type of the attribute i.e., single, list or choice- Returns:
- the type of the attribute.
-
getUIType
public int getUIType()
Deprecated.The method returns the UI type of the attribute i.e., link, button, ...- Returns:
- the UI type of the attribute;
UITYPE_UNDEFINEDif the UI type is not defined for the attribute
-
getSyntax
public int getSyntax()
Deprecated.The method returns the syntax of the attribute i.e., string, boolean, distinguished name (String), numeric.- Returns:
- syntax of the attribute
-
getCosQualifier
public String getCosQualifier()
Deprecated.Returns the value of thecosQualifierfor this attribute that is default or merge-schemes.- Returns:
- String value of
cosQualifier.
-
getDefaultValues
public Set getDefaultValues()
Deprecated.The method returns the default value of the attribute;- Returns:
- Set containing the default values of the attribute or
Collections.EMPTY_SETotherwise
-
getChoiceValues
public String[] getChoiceValues()
Deprecated.If the attribute is of choice type, this method returns the possible values for the attribute;nullotherwise- Returns:
- String array of possible choice values; null otherwise
-
getChoiceValueI18NKey
public String getChoiceValueI18NKey(String cValue)
Deprecated.Given a choice value, this method returns the i18nKey for that choice value- Parameters:
cValue- the choice value- Returns:
- the i18N key corresponding to the choice value
-
getI18NKey
public String getI18NKey()
Deprecated.Returns I18N key to describe the configuration attribute.- Returns:
- i18n index key to the resource bundle
-
setI18NKey
public void setI18NKey(String i18nKey) throws AMException
Deprecated.Set I18N key to describe the configuration attribute- Parameters:
i18nKey- value ofi18nKey.- Throws:
AMException
-
getStartRange
public String getStartRange()
Deprecated.Method to get starting range for possible values of the attribute- Returns:
- starting range for the attribute value
-
getEndRange
public String getEndRange()
Deprecated.Method to get ending range for possible values of the attribute- Returns:
- ending range for the attribute value
-
getAny
public String getAny()
Deprecated.Method to get service specific attributes. It return the value of the "any" attribute, if set in the XML schema for the service- Returns:
- value of "any" attribute
-
getPropertiesViewBeanURL
public String getPropertiesViewBeanURL()
Deprecated.Returns URL of the view bean for the attribute.- Returns:
- URL for view bean
-
getTrueValue
public String getTrueValue()
Deprecated.Method to get the string value for "TRUE"- Returns:
- String for TRUE value
-
getTrueValueI18NKey
public String getTrueValueI18NKey()
Deprecated.Method to get the i18n Key forBooleanTrueValue.- Returns:
- String i18nKey for TRUE value
-
getFalseValue
public String getFalseValue()
Deprecated.Method to get string value for "FALSE"- Returns:
- String for FALSE value
-
getFalseValueI18NKey
public String getFalseValueI18NKey()
Deprecated.Method to get the i18n Key forBooleanFalseValue.- Returns:
- String i18nKey for FALSE value.
-
-