|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines the methods for creation of IMetaCollection instances.
This is the Abstract Factory of the Abstract Factory design
pattern.
If a client of the MetaFactory or graph package wishes to
provide custom implementations of the IMetaCollection interface,
they would also need to create a new IMetaFactory implementor.
This IMetaFactory implementor would be set on the
MetaFactory and would allow the new custom
IMetaCollection instances to be used throughout the
architecture.
Examples:
MyCustomMetaFactory customFactory = new MyCustomMetaFactory(); MetaFactory.setMetaFactory( customFactory );
| Method Summary | |
IMetaCollection |
createMetaCollection()
Creates a new empty IMetaCollection instance. |
IMetaCollection |
createMetaCollection(INode aNode)
Creates a new IMetaCollection that wraps the given
INode instance. |
IMetaCollection |
createMetaCollection(java.lang.Object aID)
Creates a new IMetaCollection instance with the specified
identifier. |
IMetaCollection |
createMetaCollection(java.lang.Object aID,
java.lang.Object aValue)
Creates a new IMetaCollection instance with the specified
identifier and value. |
| Method Detail |
public IMetaCollection createMetaCollection()
IMetaCollection instance.
IMetaCollection instance.public IMetaCollection createMetaCollection(java.lang.Object aID)
IMetaCollection instance with the specified
identifier.
aID - the identifier used by the IMetaCollection
instance.IMetaCollection instance with the specified
identifier.public IMetaCollection createMetaCollection(INode aNode)
IMetaCollection that wraps the given
INode instance.
aNode - the INode instance to wrap in the returned
IMetaCollection instance.IMetaCollection that wraps the given
INode instance.
public IMetaCollection createMetaCollection(java.lang.Object aID,
java.lang.Object aValue)
IMetaCollection instance with the specified
identifier and value.aID - the identifier used by the IMetaCollection
instance.aValue - the value used by the IMetaCollection instance.IMetaCollection instance with the specified
identifier and value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||