@Immutable public class MappedSimpleAttributeDefinition extends org.jboss.as.controller.SimpleAttributeDefinition implements MappedAttributeDefinition
| Modifier | Constructor and Description |
|---|---|
protected |
MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn,
List<String> pathToFieldInConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Get the name of the mapped field in the
RepositoryConfiguration. |
List<String> |
getPathToContainerOfField()
Get the path to the field that contains the mapped field within the
RepositoryConfiguration. |
Object |
getTypedValue(org.jboss.dmr.ModelNode node)
Obtain from the supplied model node value the value that can be used in the RepositoryConfiguration field.
|
protected static Object |
getTypedValue(org.jboss.dmr.ModelNode node,
org.jboss.as.controller.AttributeDefinition defn) |
marshallAsAttribute, marshallAsAttribute, marshallAsElement, parse, parse, parseAndSetParameter, parseAndSetParameteraddAccessConstraints, addAllowedValuesToDescription, addDeprecatedInfo, addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, convertParameterExpressions, convertStringExpression, correctValue, getAccessConstraints, getAlternatives, getAttributeDeprecatedDescription, getAttributeMarshaller, getAttributeTextDescription, getDefaultValue, getDeprecationData, getFlags, getMeasurementUnit, getName, getNoTextDescription, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isDeprecated, isMarshallable, isMarshallable, isNullSignificant, isRequired, isResourceOnly, marshallAsElement, resolveModelAttribute, resolveModelAttribute, resolveValue, resolveValue, validateAndSet, validateOperation, validateResolvedOperationprotected MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn,
List<String> pathToFieldInConfiguration)
defn - the simple attribute definitionpathToFieldInConfiguration - the path to the field within the RepositoryConfiguration documentpublic List<String> getPathToContainerOfField()
MappedAttributeDefinitionRepositoryConfiguration.getPathToContainerOfField in interface MappedAttributeDefinitionpublic String getFieldName()
MappedAttributeDefinitionRepositoryConfiguration.getFieldName in interface MappedAttributeDefinitionpublic Object getTypedValue(org.jboss.dmr.ModelNode node) throws org.jboss.as.controller.OperationFailedException
MappedAttributeDefinitiongetTypedValue in interface MappedAttributeDefinitionnode - the model node valueorg.jboss.as.controller.OperationFailedException - if there was an error obtaining the value from the model nodeprotected static Object getTypedValue(org.jboss.dmr.ModelNode node, org.jboss.as.controller.AttributeDefinition defn) throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedExceptionCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.