org.openspml.v2.profiles.spmldsml
Class AttributeDefinition
java.lang.Object
org.openspml.v2.util.xml.BasicMarshallableElement
org.openspml.v2.msg.spml.Extensible
org.openspml.v2.profiles.spmldsml.ExtensibleElement
org.openspml.v2.profiles.spmldsml.AttributeDefinition
- All Implemented Interfaces:
- MarshallableElement, OpenContentContainer
- public class AttributeDefinition
- extends org.openspml.v2.profiles.spmldsml.ExtensibleElement
| Methods inherited from class org.openspml.v2.msg.spml.Extensible |
addOpenContentAttr, addOpenContentAttr, addOpenContentElement, findOpenContentAttrValueByName, findOperationalAttrByName, findOperationalNVPByName, getOpenContentAttrs, getOpenContentElements, getOpenContentElements, isValid, removeAllOperationalNVPsWithName, removeOpenContentAttr, removeOpenContentElement, setOpenContent, setOpenContentAttrs, setOpenContentElements |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AttributeDefinition
public AttributeDefinition()
AttributeDefinition
protected AttributeDefinition(java.lang.String name,
java.lang.String type,
java.lang.String description,
java.lang.Boolean multivalued)
AttributeDefinition
public AttributeDefinition(java.lang.String name,
java.lang.String type,
java.lang.String description,
boolean multivalued)
AttributeDefinition
public AttributeDefinition(java.lang.String name,
java.lang.String type,
java.lang.String description)
AttributeDefinition
public AttributeDefinition(java.lang.String name,
java.lang.String type)
AttributeDefinition
public AttributeDefinition(java.lang.String name)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
isMultivalued
public boolean isMultivalued()
setMultivalued
public void setMultivalued(boolean multivalued)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class Extensible
hashCode
public int hashCode()
- Overrides:
hashCode in class Extensible
getNamespacesInfo
public PrefixAndNamespaceTuple[] getNamespacesInfo()
- Description copied from interface:
MarshallableElement
- We need to know the namespace of the class to include.
- Specified by:
getNamespacesInfo in interface MarshallableElement- Overrides:
getNamespacesInfo in class Extensible
getElementName
public java.lang.String getElementName()
- Description copied from interface:
MarshallableElement
- This should return the name of the element to be placed in the XML
- Specified by:
getElementName in interface MarshallableElement- Overrides:
getElementName in class BasicMarshallableElement
Copyright © Sun Microsystems, Inc. All Rights Reserved.