public class EntityFactoryDefault extends java.lang.Object implements EntityFactory
EntityFactory
Modifier | Constructor and Description |
---|---|
protected |
EntityFactoryDefault()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static EntityFactoryDefault |
getInstance()
Get the instance of EntityFactoryDefault.
|
Function |
newDerivative(boolean readOnly,
java.lang.String suffix,
Entity subject)
Constructs object with a name determined by suffix string provided; used
only in reading.
|
Function |
newDerivative(Entity t) |
Function |
newDerivative(java.lang.String string,
Entity t) |
Relation |
newRelation(boolean readOnly,
java.lang.String suffix,
Entity subject,
Entity object)
Constructs object with a name determined by suffix string provided; used
only in reading.
|
Relation |
newRelation(Entity subject,
Entity object)
Constructs a new relation, given a subject and an object.
|
Relation |
newRelation(java.lang.String type,
Entity subject,
Entity object)
Constructs a new relation, given a type, a subject and an object.
|
Sequence |
newSequence()
Constructs element-free sequence.
|
Sequence |
newSequence(boolean readOnly,
java.lang.String suffix)
Constructs object with a name determined by suffix string provided; used
only in reading.
|
Sequence |
newSequence(java.lang.String type)
Constructs element-free sequence.
|
Entity |
newThing()
Constructs object with a unique name.
|
Entity |
newThing(boolean readOnly,
java.lang.String suffix)
Constructs object with a name determined by suffix string provided; used
only in reading.
|
Entity |
newThing(java.lang.String type)
Creates a thing, with a type added to its primed thread.
|
protected EntityFactoryDefault()
public static EntityFactoryDefault getInstance()
public Entity newThing()
EntityFactory
newThing
in interface EntityFactory
public Entity newThing(java.lang.String type)
EntityFactory
newThing
in interface EntityFactory
public Entity newThing(boolean readOnly, java.lang.String suffix)
EntityFactory
newThing
in interface EntityFactory
public Function newDerivative(Entity t)
newDerivative
in interface EntityFactory
public Function newDerivative(java.lang.String string, Entity t)
newDerivative
in interface EntityFactory
public Function newDerivative(boolean readOnly, java.lang.String suffix, Entity subject)
EntityFactory
newDerivative
in interface EntityFactory
public Relation newRelation(Entity subject, Entity object)
EntityFactory
newRelation
in interface EntityFactory
public Relation newRelation(java.lang.String type, Entity subject, Entity object)
EntityFactory
newRelation
in interface EntityFactory
public Relation newRelation(boolean readOnly, java.lang.String suffix, Entity subject, Entity object)
EntityFactory
newRelation
in interface EntityFactory
public Sequence newSequence()
EntityFactory
newSequence
in interface EntityFactory
public Sequence newSequence(java.lang.String type)
EntityFactory
newSequence
in interface EntityFactory
public Sequence newSequence(boolean readOnly, java.lang.String suffix)
EntityFactory
newSequence
in interface EntityFactory