| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is an adapter for children providers. To implement generic children
provider it is necessary to extend this class and correctly implement abstract
methods. Such provider if registered will participate only in
Entity.children() method invocation. If you wish your provider
to participate in such methods as Entity.childNodes() or
Entity.childLinks() you should implement corresponding empty
interfaces (ChildNodesProvider, ChildLinksProvider).
| Method Summary | |
boolean | canCreateUniqueName(Entity parent, String shapeType) |
boolean | canDelete(PropertyMap propertyMap) |
abstract StringEnumeration | children(Entity parent)This method should return enumeration of unique names of elements which are children of the given entity. |
String | createUniqueName(Entity parent, String shapeType) |
void | delete(PropertyMap propertyMap) |
abstract boolean | isApplicable(Entity parent)This method should return true if this provider can
return children of the given entity |
abstract boolean | isApplicable(String uniqueName)This method should return true if an element having the
given uniqueName exists in the model. |
abstract boolean | isApplicable(PropertyMap propertyMap)This method should return true if this provider can somehow
deal with the given property map deleting. |
abstract boolean | isDeleted(PropertyMap propertyMap)This method should return actual information. |
| Method Detail |
public boolean canCreateUniqueName(Entity parent, String shapeType)
public boolean canDelete(PropertyMap propertyMap)
public abstract StringEnumeration children(Entity parent)
isApplicable(Entity)
true (it means
isApplicable(Entity) and do not check them once again in
children(Entity).public String createUniqueName(Entity parent, String shapeType)
public void delete(PropertyMap propertyMap)
public abstract boolean isApplicable(Entity parent)
true if this provider can
public abstract boolean isApplicable(String uniqueName)
true if an element having the
uniqueName exists in the model. Here the word
Model.findElement(String).public abstract boolean isApplicable(PropertyMap propertyMap)
true if this provider can somehow
isDeleted(), canDelete() and delete(). You can
public abstract boolean isDeleted(PropertyMap propertyMap)
true
false. Passes parameter can
Element or Reference.
isApplicable(PropertyMap) has returned true for
isApplicable(PropertyMap) and not repeat them in this
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||