|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unister.semweb.drums.storable.GeneralStructure
public class GeneralStructure
This class represents the structure of one GeneralStorable
-Type. It is comparable with a "Create Table" in
other databases.
Nested Class Summary | |
---|---|
static class |
GeneralStructure.Basic_Field_Types
All allowed basic types. |
Constructor Summary | |
---|---|
GeneralStructure()
|
Method Summary | |
---|---|
boolean |
addKeyPart(java.lang.String name,
GeneralStructure.Basic_Field_Types type)
Adds a new KeyPart. |
boolean |
addKeyPart(java.lang.String name,
int size)
Adds a new KeyPart |
boolean |
addValuePart(java.lang.String name,
GeneralStructure.Basic_Field_Types type)
Adds a new ValuePart. |
boolean |
addValuePart(java.lang.String name,
int size)
Adds a new ValuePart |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralStructure()
Method Detail |
---|
public boolean addValuePart(java.lang.String name, int size) throws java.io.IOException
name
- the name of the key part. With this name you can access this partsize
- the size of the key part in bytes
java.io.IOException
public boolean addValuePart(java.lang.String name, GeneralStructure.Basic_Field_Types type) throws java.io.IOException
addKeyPart(String, int)
.
name
- the name of the key part. With this name you can access this parttype
- the type of the key part.
java.io.IOException
public boolean addKeyPart(java.lang.String name, int size) throws java.io.IOException
name
- the name of the key part. With this name you can access this partsize
- the size of the key part in bytes
java.io.IOException
public boolean addKeyPart(java.lang.String name, GeneralStructure.Basic_Field_Types type) throws java.io.IOException
addKeyPart(String, int)
.
name
- the name of the key part. With this name you can access this parttype
- the type of the key part.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |