|
ModeShape Distribution 3.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.as.controller.AttributeDefinition
org.jboss.as.controller.SimpleAttributeDefinition
org.modeshape.jboss.subsystem.MappedSimpleAttributeDefinition
@Immutable public class MappedSimpleAttributeDefinition
| Constructor Summary | |
|---|---|
protected |
MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn,
List<String> pathToFieldInConfiguration)
|
| Method Summary | |
|---|---|
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. |
List<String> |
getPathToField()
Get the path to the 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)
|
| Methods inherited from class org.jboss.as.controller.SimpleAttributeDefinition |
|---|
marshallAsAttribute, marshallAsAttribute, marshallAsElement, marshallAsElement, parse, parse, parseAndSetParameter, parseAndSetParameter |
| Methods inherited from class org.jboss.as.controller.AttributeDefinition |
|---|
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, correctValue, getAlternatives, getAttributeTextDescription, getDefaultValue, getFlags, getMeasurementUnit, getName, getNoTextDescription, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isMarshallable, isMarshallable, isRequired, resolveModelAttribute, validateAndSet, validateOperation, validateResolvedOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected MappedSimpleAttributeDefinition(org.jboss.as.controller.SimpleAttributeDefinition defn,
List<String> pathToFieldInConfiguration)
defn - the simple attribute definitionpathToFieldInConfiguration - the path to the field within the RepositoryConfiguration document| Method Detail |
|---|
public List<String> getPathToField()
MappedAttributeDefinitionRepositoryConfiguration.
getPathToField in interface MappedAttributeDefinitionpublic List<String> getPathToContainerOfField()
MappedAttributeDefinitionRepositoryConfiguration.
getPathToContainerOfField in interface MappedAttributeDefinitionpublic String getFieldName()
MappedAttributeDefinitionRepositoryConfiguration.
getFieldName in interface MappedAttributeDefinition
public Object getTypedValue(org.jboss.dmr.ModelNode node)
throws org.jboss.as.controller.OperationFailedException
MappedAttributeDefinition
getTypedValue in interface MappedAttributeDefinitionnode - the model node value
org.jboss.as.controller.OperationFailedException - if there was an error obtaining the value from the model node
protected static Object getTypedValue(org.jboss.dmr.ModelNode node,
org.jboss.as.controller.AttributeDefinition defn)
throws org.jboss.as.controller.OperationFailedException
org.jboss.as.controller.OperationFailedException
|
ModeShape Distribution 3.0.1.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||