public abstract class XmiBasePart extends Object implements XmiPart
Modifier | Constructor and Description |
---|---|
protected |
XmiBasePart(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName() |
String |
getNamespacePrefix() |
String |
getNamespaceUri() |
String |
getQName() |
String |
getValue() |
int |
hashCode() |
void |
setNamespacePrefix(String newNamespacePrefix) |
void |
setNamespaceUri(String newNamespaceUri) |
void |
setValue(String newValue) |
String |
toString() |
protected XmiBasePart(String name)
name
- the part name (cannot be null
or empty)public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String getName()
getName
in interface XmiPart
null
or empty)XmiPart.getName()
public String getNamespacePrefix()
getNamespacePrefix
in interface XmiPart
null
or empty)XmiPart.getNamespacePrefix()
public String getNamespaceUri()
getNamespaceUri
in interface XmiPart
null
or empty)XmiPart.getNamespaceUri()
public String getQName()
getQName
in interface XmiPart
null
or empty)XmiPart.getQName()
public String getValue()
getValue
in interface XmiPart
null
or empty)XmiPart.getValue()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void setNamespacePrefix(String newNamespacePrefix)
newNamespacePrefix
- the new namespace prefix (can be null
or empty)public void setNamespaceUri(String newNamespaceUri)
newNamespaceUri
- the new namespace URI (can be null
or empty)public void setValue(String newValue)
newValue
- the new part value (can be null
or empty)public String toString()
toString
in class Object
Object.toString()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.