|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IntegerEntityManager
An object implementing this interface manages entities and creates new identification numbers for auxiliary entities.
Field Summary | |
---|---|
static Integer |
bottomClassId
|
static Integer |
bottomDataPropertyId
|
static Integer |
bottomObjectPropertyId
|
static Integer |
firstUsableIdentifier
|
static Integer |
topClassId
|
static Integer |
topDataPropertyId
|
static Integer |
topObjectPropertyId
|
Method Summary | |
---|---|
Integer |
createAnonymousEntity(IntegerEntityType type,
boolean auxiliary)
Creates a new entity of a certain type. |
Integer |
createNamedEntity(IntegerEntityType type,
String name,
boolean auxiliary)
Creates a new entity of a certain type. |
Integer |
createOrGetClassIdForIndividual(Integer individual)
Returns the class identifier corresponding to the given individual. |
Integer |
createOrGetInverseObjectPropertyOf(Integer propertyId)
Returns the inverse object property of the given object property. |
Set<Integer> |
getAuxiliaryInverseObjectProperties()
Returns the auxiliary inverse object properties. |
Integer |
getAuxiliaryNominal(Integer individual)
This method gives the auxiliary nominal related to a specific individual. |
Set<Integer> |
getAuxiliaryNominals()
Returns the set of auxiliary nominals. |
Set<Integer> |
getEntities(IntegerEntityType type,
boolean auxiliary)
Returns the set of identifiers of auxiliary entities of a certain type. |
Integer |
getIndividual(Integer auxNominal)
This method gives the individual related to a specific auxiliary nominal. |
Set<Integer> |
getIndividuals()
Returns the set of individuals. |
String |
getName(Integer identifier)
Returns the name defined for a certain entity. |
IntegerEntityType |
getType(Integer identifier)
Returns the entity type for the given identifier |
boolean |
isAuxiliary(Integer identifier)
Tells whether the given identifier corresponds to an auxiliary entity. |
boolean |
proposeInverseObjectPropertyOf(Integer firstProperty,
Integer secondProperty)
Proposes the association of an object property to another object property as one the inverse object property of the other one. |
int |
size()
Returns the number of created entities, either auxiliary or non-auxiliary. |
Field Detail |
---|
static final Integer bottomClassId
static final Integer bottomDataPropertyId
static final Integer bottomObjectPropertyId
static final Integer firstUsableIdentifier
static final Integer topClassId
static final Integer topDataPropertyId
static final Integer topObjectPropertyId
Method Detail |
---|
Integer createAnonymousEntity(IntegerEntityType type, boolean auxiliary)
type
- type of the entityauxiliary
- true
if and only if the created entity is an
auxiliary entity
Integer createNamedEntity(IntegerEntityType type, String name, boolean auxiliary)
type
- type of the entityauxiliary
- true
if and only if the created entity is an
auxiliary entityname
- name for this entity
Integer createOrGetClassIdForIndividual(Integer individual)
individual
- individual to get the class
Integer createOrGetInverseObjectPropertyOf(Integer propertyId) throws IndexOutOfBoundsException
propertyId
- property identifier to create an inverse object property
IndexOutOfBoundsException
- if the property identifier is greater than the last auxiliary
property createdSet<Integer> getAuxiliaryInverseObjectProperties()
Integer getAuxiliaryNominal(Integer individual)
individual
- the individual
null
if the individual does
not have any related auxiliary nominal.Set<Integer> getAuxiliaryNominals()
Set<Integer> getEntities(IntegerEntityType type, boolean auxiliary)
type
- type of the entityauxiliary
- true
for auxiliary entities, false
for non-auxiliary entities
Integer getIndividual(Integer auxNominal)
auxNominal
- the auxiliary nominal
null
if the auxiliary
nominal does not have any related individual.Set<Integer> getIndividuals()
String getName(Integer identifier)
identifier
- entity to get the name
IntegerEntityType getType(Integer identifier)
identifier
- entity identifier
boolean isAuxiliary(Integer identifier)
true
if and only if the given identifier corresponds
to an auxiliary entityboolean proposeInverseObjectPropertyOf(Integer firstProperty, Integer secondProperty) throws IndexOutOfBoundsException
firstProperty
- an object propertysecondProperty
- an object property
true
if and only if the proposal was accepted
IndexOutOfBoundsException
int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |