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, toStringpublic XmiAttribute(String name)
name - the attribute name (cannot be null or empty)public boolean equals(Object obj)
equals in class XmiBasePartXmiBasePart.equals(java.lang.Object)public String getNamespacePrefix()
getNamespacePrefix in interface XmiPartgetNamespacePrefix in class XmiBasePartnull or empty)XmiBasePart.getNamespacePrefix()public String getNamespaceUri()
getNamespaceUri in interface XmiPartgetNamespaceUri in class XmiBasePartnull or empty)XmiBasePart.getNamespaceUri()public XmiElement getParent()
getParent in interface XmiDescendentnull)XmiDescendent.getParent()public int hashCode()
hashCode in class XmiBasePartXmiBasePart.hashCode()public void setParent(XmiElement parent)
setParent in interface XmiDescendentparent - the new parent (can be null)XmiDescendent.setParent(org.modeshape.sequencer.teiid.xmi.XmiElement)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.