public class ChildOptionI extends ChildOption
__ids, excludeNs, excludeType, includeNs, includeType, serialVersionUID| Constructor and Description |
|---|
ChildOptionI(ChildOptionI original)
Construct a new child option instance identical to that given.
|
ChildOptionI(ome.services.graphs.GraphPathBean graphPathBean,
com.google.common.collect.ImmutableSet<java.lang.String> defaultExcludeNs)
Construct a new child option instance.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<ChildOptionI> |
castChildOptions(java.util.Collection<ChildOption> childOptions)
Cast
ChildOption[] to ChildOptionI[]. |
void |
init()
Initialize this child option instance.
|
java.lang.Boolean |
isIncludeType(java.lang.Class<? extends ome.model.IObject> objectClass)
Test if this child option adjusts graph traversal policy for the given child object class.
|
boolean |
isTargetNamespace(java.lang.String namespace)
Test if this child option adjusts graph traversal policy for child objects that are annotations in the given namespace.
|
__readImpl, __writeImpl, clone, ice_factory, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticIdpublic ChildOptionI(ome.services.graphs.GraphPathBean graphPathBean,
com.google.common.collect.ImmutableSet<java.lang.String> defaultExcludeNs)
graphPathBean - the graph path beandefaultExcludeNs - annotation namespaces to exclude by defaultpublic ChildOptionI(ChildOptionI original)
original - a child option instancepublic void init()
ChildOption field values set when this method was last called.public java.lang.Boolean isIncludeType(java.lang.Class<? extends ome.model.IObject> objectClass)
init() to have been called previously.objectClass - a child object classtrue if such children should be included in the operation,
false if such children should not be included in the operation, or
null if this child option does not affect the treatment of such childrenpublic boolean isTargetNamespace(java.lang.String namespace)
init() to have been called previously.namespace - an annotation namespacepublic static java.util.List<ChildOptionI> castChildOptions(java.util.Collection<ChildOption> childOptions)
ChildOption[] to ChildOptionI[].childOptions - an array of ChildOption which may all be casted to ChildOptionI, may be nullChildOptionI, may be null