public class Entity extends Object implements Comparable<Entity>
Java class for Entity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Entity">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
alias |
protected String |
name |
protected String |
namespaceURI |
protected String |
physicalName
Stores the physical name associated with this
property.
|
protected byte[] |
physicalNameBytes
Stores the physical name bytes associated with this
property.
|
protected String |
uniqueId
A unique id, such as a repository UUID as string or
xmi-id from UML source.
|
| Constructor and Description |
|---|
Entity() |
Entity(String name,
String namespaceURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(QueryVisitor visitor) |
int |
compareTo(Entity o) |
boolean |
equals(Object obj) |
String |
getAlias()
Gets the value of the alias property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNamespaceURI()
Gets the value of the namespaceURI property.
|
String |
getPhysicalName() |
byte[] |
getPhysicalNameBytes() |
String |
getQualifiedName() |
String |
getUniqueId() |
boolean |
hasAlias() |
int |
hashCode() |
static String |
qualifiedNameFor(String namespaceURI,
String name) |
static String |
qualifiedNameFor(String namespaceURI,
String name,
String alias) |
void |
setAlias(String value)
Sets the value of the alias property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNamespaceURI(String value)
Sets the value of the namespaceURI property.
|
void |
setPhysicalName(String value) |
void |
setPhysicalNameBytes(byte[] value) |
void |
setUniqueId(String uniqueId) |
protected String name
protected String namespaceURI
protected String alias
protected transient String physicalName
protected transient byte[] physicalNameBytes
protected transient String uniqueId
public String getUniqueId()
public void setUniqueId(String uniqueId)
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNamespaceURI()
Stringpublic String getAlias()
Stringpublic void setAlias(String value)
value - allowed object is
Stringpublic boolean hasAlias()
public String getPhysicalName()
public void setPhysicalName(String value)
public byte[] getPhysicalNameBytes()
public void setPhysicalNameBytes(byte[] value)
public void setNamespaceURI(String value)
value - allowed object is
Stringpublic void accept(QueryVisitor visitor)
public static String qualifiedNameFor(String namespaceURI, String name, String alias)
public String getQualifiedName()
public int compareTo(Entity o)
compareTo in interface Comparable<Entity>Copyright © 2017. All rights reserved.