* When distributing Covered Code, include this CDDL * Header Notice in each file and include the License file * If applicable, add the following below the CDDL Header, * with the fields enclosed by brackets [] replaced by * your own identifying information: * "Portions Copyrighted [year] [name of copyright owner]" * The class <code>AMAttributeSchema</code> provides the interfaces to obtain * meta information about service configuration variable. * @deprecated This class has been deprecated. Please use * <code>com.sun.identity.sm.AttributeSchema</code>. * The <code>TYPE_SINGLE</code> attribute type specifies that the * attribute can have only a single value * The <code>TYPE_LIST</code> attribute type specifies that the attribute * can have multiple values, i.e., multi-valued attribute * The <code>TYPE_SINGLE_CHOICE</code> attribute type specifies that the * attribute can have value defined by the <code>getChoiceValues</code> * method of <code>AMAttributeSchema</code>. * The <code>TYPE_MULTIPLE_CHOICE</code> attribute type specifies that the * attribute can have multiple values defined by the * <code>getChoiceValues</code> method of <code>AMAttributeSchema</code>. * The <code>TYPE_SIGNATURE</code> attribute type specifies that the * attribute is a signing attribute. * The <code>VALIDATOR</code> attribute type specifies that the attribute * defines a attribute validator plugin. * The <code>UITYPE_RADIO</code> attribute type specifies that the * attribute should be display as a radio button. * The <code>UITYPE_LINK</code> attribute type specifies that the * attribute should be display as a link. * The <code>UITYPE_BUTTON</code> attribute type specifies that the * attribute should be display as a button. * The <code>UITYPE_UNDEFINED</code> attribute type specifies that the UI * The <code>SYNTAX_BOOLEAN</code> attribute syntax specifies that the * attribute is of boolean type, i.e., can have a value of either * <code>true</code> or <code> * The <code>SYNTAX_EMAIL</code> attribute syntax specifies that the * attribute is a email address. * The <code>SYNTAX_URL</code> attribute syntax specifies that the * The <code>SYNTAX_STRING</code> attribute syntax specifies that the * attribute is of text type, i.e., can have any unicode characters * The <code>SYNTAX_PASSWORD</code> attribute syntax specifies that the * attribute is of password type, will be used by UI to mask the password * The <code>SYNTAX_NUMERIC</code> attribute syntax specifies that the * attribute is numeric, i.e., can have numbers only. * The <code>SYNTAX_NUMBER</code> attribute syntax specifies that the * The <code>SYNTAX_PERCENT</code> attribute syntax specifies that the * attribute is a percentage. * The <code>SYNTAX_NUMBER_RANGE</code> attribute syntax specifies that * the attribute is a number within a range. * The <code>SYNTAX_DECIMAL_RANGE</code> attribute syntax specifies that * the attribute is a decimal number within a range. * The <code>SYNTAX_DECIMAL_NUMBER</code> attribute syntax specifies that * the attribute is a floating point number, e.g., 1.5, 3.56, etc. * The <code>SYNTAX_DN</code> attribute syntax specifies that the * attribute should be an LDAP distinguished name (DN). * The <code>SYNTAX_PARAGRAPH</code> attribute syntax specifies that the * attribute should be a paragraph * The <code>SYNTAX_DATE</code> attribute syntax specifies that the * attribute should be a date * The <code>SYNTAX_XML</code> attribute syntax specifies that the * attribute should be a XML blob * The <code>SYNTAX_ENCRYPTED_PASSWORD</code> attribute syntax specifies * that the attribute is of password type, will be used by UI to mask the * The <code>SYNTAX_SCRIPT</code> attribute syntax specifies that the * attribute should be a script * The method returns the name of the attribute * @return name of the attribute * The method returns the type of the attribute i.e., single, list or choice * @return the type of the attribute. // Map the SMS attribute type to public attribute type return -
1;
// Should'nt occur * The method returns the UI type of the attribute i.e., link, button, ... * @return the UI type of the attribute; <code>UITYPE_UNDEFINED</code> if * the UI type is not defined for the attribute // Map the SMS attribute UI type to public attribute type * The method returns the syntax of the attribute i.e., string, boolean, * distinguished name (String), numeric. * @return syntax of the attribute // Map the SMS attribute type to public attribute type * Returns the value of the <code>cosQualifier</code> for this attribute * that is default or merge-schemes. * @return String value of <code>cosQualifier</code>. * The method returns the default value of the attribute; * @return Set containing the default values of the attribute or * <code>Collections.EMPTY_SET<code> otherwise * If the attribute is of choice type, this method returns the possible * values for the attribute; <code>null</code> otherwise * @return String array of possible choice values; null otherwise * Given a choice value, this method returns the i18nKey for that choice * @return the i18N key corresponding to the choice value * Returns I18N key to describe the configuration attribute. * @return i18n index key to the resource bundle * Set I18N key to describe the configuration attribute * value of <code>i18nKey</code>. "AMAttributeSchema.setAttributeDefaults(Map): ",
se);
"AMAttributeSchema.setAttributeDefaults(Map): ",
so);
* Method to get starting range for possible values of the attribute * @return starting range for the attribute value * Method to get ending range for possible values of the attribute * @return ending range for the attribute value * Method to get service specific attributes. It return the value of the * "any" attribute, if set in the XML schema for the service * @return value of "any" attribute * Returns URL of the view bean for the attribute. * @return URL for view bean * Method to get the string value for "TRUE" * @return String for TRUE value * Method to get the i18n Key for <code>BooleanTrueValue</code>. * @return String i18nKey for TRUE value * Method to get string value for "FALSE" * @return String for FALSE value * Method to get the i18n Key for <code>BooleanFalseValue</code>. * @return String i18nKey for FALSE value. * Method that returns the String representation of the * <code>AMAttributeSchema</code>. * @return String representation of the <code>AMAttributeSchema</code>/