|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.vm.mind.MIAnything
Field Summary | |
static int |
IS_ERROR
|
static int |
IS_LINK
|
static int |
IS_LIST
|
static int |
IS_SHARED
|
static int |
IS_SYSTEM
|
static int |
IS_VALUE
|
protected boolean |
m_valid
|
Constructor Summary | |
MIAnything()
|
Method Summary | |
boolean |
delThing(java.lang.String i_name,
MIThing i_thing)
Should override this method defined at ORObject (not done yet). Sets Thing property to null (invalid) value or removes it from List property in case if property is List of Things. |
java.lang.String |
dump(java.lang.String i_indent,
java.lang.String i_linefeed,
int i_count,
int i_type)
Dumps Anything/Thing to string |
java.lang.String |
fullDump()
|
int |
getCount()
Returns number of properties of given Anything/Thing |
java.lang.String |
getKey(java.lang.String i_name)
|
MIList |
getList(java.lang.String i_name)
Returns list presentating property by name if property is list of Things |
java.lang.String |
getName()
Returns name of given Thing (if thing assumes name presense) |
java.lang.String |
getName(int i_namenumber)
Returns name of property by given number (0<=number |
java.lang.String |
getQuery()
Returns ORL query to be used in order to access given Thing |
java.lang.String |
getString(java.lang.String i_name)
Returns string presentation of property by name if property is not Thing or list |
MIThing |
getThing(java.lang.String i_name)
Returns Thing presentation of property by name if property is Thing but not a list of Things |
int |
getType()
Should override this method defined at ORObject (not done yet) |
int |
getType(java.lang.String i_name)
Returns bitmask of property type. |
boolean |
is(java.lang.String i_name)
|
boolean |
load(MIWorld i_world,
MIStream i_stream)
Loads Anything/Thing from into Stream into World |
void |
message(java.lang.String m)
Sends notification message in any way ad format dependent on actual Anything |
boolean |
setString(java.lang.String i_name,
java.lang.String i_string)
Assigns string value to property by name if property is not Thing or list |
boolean |
SetString(java.lang.String i_name,
java.lang.String i_string)
|
boolean |
setThing(java.lang.String i_name,
MIThing i_thing)
Assigns Thing value to property by name if property Thing or list. |
boolean |
SetThing(java.lang.String i_name,
MIThing i_thing)
|
java.lang.String |
toString()
|
boolean |
valid()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean m_valid
public static final int IS_ERROR
public static final int IS_VALUE
public static final int IS_LINK
public static final int IS_SHARED
public static final int IS_LIST
public static final int IS_SYSTEM
Constructor Detail |
public MIAnything()
Method Detail |
public void message(java.lang.String m)
public java.lang.String getKey(java.lang.String i_name)
public int getType(java.lang.String i_name)
ORObject
getType
in interface ORObject
ORObject
public int getType()
public boolean valid()
public boolean is(java.lang.String i_name)
public java.lang.String getString(java.lang.String i_name)
ORObject
getString
in interface ORObject
ORObject
public MIThing getThing(java.lang.String i_name)
ORObject
getThing
in interface ORObject
ORObject
public MIList getList(java.lang.String i_name)
ORObject
getList
in interface ORObject
ORObject
public java.lang.String getName()
ORObject
getName
in interface ORObject
ORObject
public boolean setString(java.lang.String i_name, java.lang.String i_string)
ORObject
setString
in interface ORObject
ORObject
public boolean setThing(java.lang.String i_name, MIThing i_thing)
ORObject
setThing
in interface ORObject
ORObject
public boolean delThing(java.lang.String i_name, MIThing i_thing)
Sets Thing property to null (invalid) value or removes it from List property in case if property is List of Things.
i_name
- - name of Thing to remove named thing or keyvalue to remove thing from indexed listi_thing
- - actual Thing to be removed from list propertypublic boolean load(MIWorld i_world, MIStream i_stream)
ORObject
load
in interface ORObject
ORObject
public int getCount()
ORObject
getCount
in interface ORObject
ORObject
public java.lang.String getName(int i_namenumber)
ORObject
getName
in interface ORObject
ORObject
public java.lang.String toString()
toString
in class java.lang.Object
Object
,
ORObject
public java.lang.String fullDump()
public java.lang.String dump(java.lang.String i_indent, java.lang.String i_linefeed, int i_count, int i_type)
ORObject
dump
in interface ORObject
ORObject
public java.lang.String getQuery()
ORObject
getQuery
in interface ORObject
ORObject
public boolean SetString(java.lang.String i_name, java.lang.String i_string)
public boolean SetThing(java.lang.String i_name, MIThing i_thing)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |