|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectiitb.con.core.Instance
public abstract class Instance
Instance
is the instantiated item of the Type
.
All the instances of specialized type will extend the Instance
class.
Type
Field Summary | |
---|---|
int |
id
Instance Id |
short |
typeId
Type name of the instance |
Constructor Summary | |
---|---|
Instance()
|
Method Summary | |
---|---|
java.lang.Object |
getAttributeValue(java.lang.String name)
Returns the specified attributes value. This method should be over-ridden by the specialized instances |
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
Sets the instance's attribute value. This method should be over-ridden by the specialized instances |
void |
setType(Type type)
Sets the type of the instance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int id
public short typeId
Constructor Detail |
---|
public Instance()
Method Detail |
---|
public java.lang.Object getAttributeValue(java.lang.String name)
name
- attribute name
public void setAttributeValue(java.lang.String name, java.lang.Object value)
name
- attribute namevalue
- attribute's valuepublic void setType(Type type)
type
- Type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |