public class XmlAttribute extends AbstractDefinition<PropertyConstraint>
name
Constructor and Description |
---|
XmlAttribute(QName attributeName,
TypeDefinition type)
Create a new schema attribute
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
Get the definitions identifier
|
TypeDefinition |
getType()
Get the type definition associated with the attribute
|
compareTo, equals, getConstraint, getDescription, getDisplayName, getInheritedConstraint, getLocation, getName, hasConstraint, hashCode, setConstraint, setConstraintIfNotSet, setDescription, setLocation, toString
public XmlAttribute(QName attributeName, TypeDefinition type)
attributeName
- the attribute nametype
- the associated type definitionpublic TypeDefinition getType()
public String getIdentifier()
Definition
getIdentifier
in interface Definition<PropertyConstraint>
getIdentifier
in class AbstractDefinition<PropertyConstraint>
Definition.getIdentifier()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a