Package jadex.rules.state.javaimpl
Class OAVObjectUsage
- java.lang.Object
- 
- jadex.rules.state.javaimpl.OAVObjectUsage
 
- 
 public class OAVObjectUsage extends java.lang.ObjectStruct for storing an object usage. Identifies that a defined value (not part of this usage) is used in the defined object in the defined attribute.
- 
- 
Field SummaryFields Modifier and Type Field Description protected OAVAttributeTypeattrThe attribute.protected booleanexternalExternal flag (i.e.protected java.lang.ObjectobjectThe object.
 - 
Constructor SummaryConstructors Constructor Description OAVObjectUsage(java.lang.Object object, OAVAttributeType attr)Create a new object usage.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test if two objects are equal.OAVAttributeTypegetAttribute()Get the attribute.java.lang.ObjectgetObject()Get the object.inthashCode()Generate the hash code.booleanisExternal()Get the external flag.voidsetExternal(boolean external)Set the external flag.java.lang.StringtoString()Create a string representation.
 
- 
- 
- 
Field Detail- 
objectprotected java.lang.Object object The object.
 - 
attrprotected OAVAttributeType attr The attribute.
 - 
externalprotected boolean external External flag (i.e. referencing object is only externally referenced and no longer in state).
 
- 
 - 
Constructor Detail- 
OAVObjectUsagepublic OAVObjectUsage(java.lang.Object object, OAVAttributeType attr)Create a new object usage.
 
- 
 - 
Method Detail- 
getObjectpublic java.lang.Object getObject() Get the object.
 - 
getAttributepublic OAVAttributeType getAttribute() Get the attribute.
 - 
isExternalpublic boolean isExternal() Get the external flag.
 - 
setExternalpublic void setExternal(boolean external) Set the external flag.
 - 
hashCodepublic int hashCode() Generate the hash code.- Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test if two objects are equal.- Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() Create a string representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-