java.lang.Objectucot.model.object.Attribute
public class Attribute
This is attribute of an entity. It is basically direct link with cardinal information.
Field Summary | |
---|---|
(package private) Entity |
entity
|
(package private) java.lang.String |
fromCardinal
|
static long |
serialVersionUID
|
(package private) java.lang.String |
toCardinal
|
Constructor Summary | |
---|---|
Attribute(Entity entity)
Creates new Attribute reference to given entity. |
Method Summary | |
---|---|
Entity |
getEntity()
Get the entity this attribute refers to. |
java.lang.String |
getName()
Returns the name of the attribute. |
void |
setEntity(Entity entity)
Sets the entity this attribute refers to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
java.lang.String fromCardinal
java.lang.String toCardinal
Entity entity
Constructor Detail |
---|
public Attribute(Entity entity)
entity
- The entity this attribute refers to.Method Detail |
---|
public Entity getEntity()
public void setEntity(Entity entity)
entity
- The entity to be refered.public java.lang.String getName()