Instance¶
-
public abstract class
Instance
<T extends Entity<?>>¶ Represent an instance of a modelling entity
Parameters: - <T> – Type of the father entity
Constructors¶
Methods¶
checkValidity¶
-
protected void
checkValidity
()¶ To be executed when accessing properties, throws IllegalStateException if the instance has been deleted
getIntegerIndex¶
-
int
getIntegerIndex
()¶ If this entity is indexed over an integer index, returns the index number of the entity
Throws: - NumberFormatException – if the index is not an integer, or if if is not just one index
Returns: The indexing number
getIntegerIndices¶
-
int[]
getIntegerIndices
()¶ If this entity is indexed over a set of integer indices, returns the index number of the entity
Throws: - NumberFormatException – if the index is not a set of integers
Returns: The indexing numbers