edu::tum::cs::srldb::Object Class Reference
List of all members.
Detailed Description
Definition at line 12 of file Object.java.
Constructor & Destructor Documentation
edu::tum::cs::srldb::Object::Object |
( |
Database |
database |
) |
[inline, protected] |
creates an object for the given database; Since a type name is not provided but is determined from the actual class name, this constructor cannot be used directly
- Parameters:
-
| database | the database the object is to be part of (upon commit) |
Definition at line 25 of file Object.java.
edu::tum::cs::srldb::Object::Object |
( |
Database |
database, |
|
|
String |
objTypeName | |
|
) |
| | [inline] |
creates an object of the given type name
- Parameters:
-
| database | the database the object is to be part of (upon commit) |
| objTypeName | the type name |
Definition at line 35 of file Object.java.
edu::tum::cs::srldb::Object::Object |
( |
Database |
database, |
|
|
String |
objTypeName, |
|
|
String |
constantName | |
|
) |
| | [inline] |
Member Function Documentation
adds the object and all attached links to the given database
- Parameters:
-
- Exceptions:
-
Definition at line 148 of file Object.java.
void edu::tum::cs::srldb::Object::BLOGprintFacts |
( |
PrintStream |
out |
) |
throws DDException [inline] |
void edu::tum::cs::srldb::Object::commit |
( |
|
) |
throws DDException [inline] |
adds the object and all attached links to the database this object is associated with
- Exceptions:
-
Definition at line 139 of file Object.java.
String edu::tum::cs::srldb::Object::getConstantName |
( |
|
) |
[inline] |
Link edu::tum::cs::srldb::Object::getLink |
( |
String |
linkName |
) |
[inline] |
Link edu::tum::cs::srldb::Object::link |
( |
String |
linkName, |
|
|
Object[] |
otherObjects | |
|
) |
| | throws DDException [inline] |
links this object to several other objects
- Parameters:
-
| linkName | the name of the link/relation |
| otherObjects | the objects to link to |
- Returns:
- a reference to the newly created link object
- Exceptions:
-
Definition at line 69 of file Object.java.
links this object to another object
- Parameters:
-
| linkName | the name of the link/relation |
| otherObj | the object to link to |
- Returns:
- a reference to the newly created link object
- Exceptions:
-
Definition at line 53 of file Object.java.
void edu::tum::cs::srldb::Object::MLNprintFact |
( |
String |
attribName, |
|
|
PrintStream |
out | |
|
) |
| | throws DDException [inline] |
void edu::tum::cs::srldb::Object::MLNprintFacts |
( |
PrintStream |
out |
) |
throws DDException [inline] |
String edu::tum::cs::srldb::Object::objType |
( |
|
) |
[inline] |
gets the object type name for this object
- Returns:
- the object type name; class name by default (unless overridden during construction)
Definition at line 131 of file Object.java.
String edu::tum::cs::srldb::Object::toString |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: