NAME
Object::Meta::List - Library to access Object::Meta objects by Index Value and by insertion order.
Object::Meta::List enherits from Object::Meta the capability to store Meta Data which is used to create autogenerated object indices in-memory.
Consultation Methods
getIndexField ( [ INDEX ] )
This method returns the name of the field that is used to index the instances by the index INDEX.
Parameters:
INDEX-
Name of the index. If not given the predefined
PRIMARY_INDEXNAMEindex with name "primary" is used.
Returns: string - The object with the indexed field having the value NAME.
getIdxMetaObject ( INDEX, NAME )
This uses the index of name INDEX to find the Object::Meta object to find the instance.
Parameters:
INDEX-
Name of the index.
NAME-
The string value for field indexed with the index
INDEXof the object.
Returns: Object::Meta - The object with the indexed field having the value NAME.
getMetaObjectCount
This Method gives the Count of Object::Meta objects back that are hold in the List. If the Meta Data Field entrycount is not set it will be created.
Returns: integer - The Count of Object::Meta objects in the List