public class XmiAttribute extends XmiBasePart implements XmiDescendent
Constructor and Description |
---|
XmiAttribute(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getNamespacePrefix() |
String |
getNamespaceUri() |
XmiElement |
getParent() |
int |
hashCode() |
void |
setParent(XmiElement parent) |
getName, getQName, getValue, setNamespacePrefix, setNamespaceUri, setValue, toString
public XmiAttribute(String name)
name
- the attribute name (cannot be null
or empty)public boolean equals(Object obj)
equals
in class XmiBasePart
XmiBasePart.equals(java.lang.Object)
public String getNamespacePrefix()
getNamespacePrefix
in interface XmiPart
getNamespacePrefix
in class XmiBasePart
null
or empty)XmiBasePart.getNamespacePrefix()
public String getNamespaceUri()
getNamespaceUri
in interface XmiPart
getNamespaceUri
in class XmiBasePart
null
or empty)XmiBasePart.getNamespaceUri()
public XmiElement getParent()
getParent
in interface XmiDescendent
null
)XmiDescendent.getParent()
public int hashCode()
hashCode
in class XmiBasePart
XmiBasePart.hashCode()
public void setParent(XmiElement parent)
setParent
in interface XmiDescendent
parent
- the new parent (can be null
)XmiDescendent.setParent(org.modeshape.sequencer.teiid.xmi.XmiElement)
Copyright © 2008-2015 JBoss, a division of Red Hat. All Rights Reserved.