public class ActionSchema extends AttributeSchemaImpl
ActionSchema
provides interfaces to
obtain meta information about service action values.
For example, information about the syntax of the action values,
defaults values, choice values, etc.Modifier and Type | Field and Description |
---|---|
protected static String |
ACTION_SCHEMA |
protected static String |
ACTION_VALUE |
protected static String |
I18N_KEY |
protected static String |
RESOURCE_NAME |
protected static String |
VALUE |
Modifier | Constructor and Description |
---|---|
protected |
ActionSchema(Node node)
Constructor with the action schema node
|
Modifier and Type | Method and Description |
---|---|
String |
getActionValueI18NKey(String actionValue)
Returns the I18N key for the action value.
|
Set |
getActionValues()
Returns a
Set of possible action values if the action
schema is of choice type ie SINGLE_CHOICE or
MULTIPLE_CHOICE in the service schema definition. |
String |
getResourceNameI18NKey(String actionValue)
Returns the I18N key for displaying resource names associated
with the action value.
|
Set |
getResourceNames(String actionValue)
Returns the default resource names associated with the
action value.
|
boolean |
requiresResourceName()
Returns
true if the action requires a resource name. |
getAny, getAttributeSchemaNode, getChoiceValueI18NKey, getChoiceValues, getChoiceValues, getChoiceValuesMap, getChoiceValuesMap, getChoiceValuesSet, getChoiceValuesSet, getCosQualifier, getDefaultValues, getDefaultValues, getEndRange, getExampleValues, getFalseValue, getFalseValueI18NKey, getI18NKey, getListOrder, getMaxValue, getMinValue, getName, getOrder, getPropertiesViewBeanURL, getResourceName, getStartRange, getSyntax, getTrueValue, getTrueValueI18NKey, getType, getUIType, getValidator, getValues, isOptional, isResourceNameAllowed, isSearchable, isServiceIdentifier, isStatusAttribute, toString
protected static final String ACTION_SCHEMA
protected static final String ACTION_VALUE
protected static final String VALUE
protected static final String I18N_KEY
protected static final String RESOURCE_NAME
protected ActionSchema(Node node)
node
- Node
representing w3c DOM representation
of the object.public Set getActionValues()
Set
of possible action values if the action
schema is of choice type ie SINGLE_CHOICE
or
MULTIPLE_CHOICE
in the service schema definition.
The choice values are sorted alphabetically in the ascending order.
If the action values are not of choice type, this method return an
empty Set
and not null
.public String getActionValueI18NKey(String actionValue)
SINGLE_CHOICE
or MULTIPLE_CHOICE
. Also each action value must have
defined its i18nKey
in the XML.null
otherwisepublic boolean requiresResourceName()
true
if the action requires a resource name.
An action can have a resource name only if its type is either
SINGLE_CHOICE
or MULTIPLE_CHOICE
, or if
its syntax
is boolean.true
if the action name requires a resource name;
false
otherwisepublic Set getResourceNames(String actionValue)
Set
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.