public class ChildOptionI
extends omero.cmd.graphs.ChildOption
Constructor and Description |
---|
ChildOptionI(ChildOptionI original)
Construct a new child option instance identical to that given.
|
ChildOptionI(GraphPathBean graphPathBean,
com.google.common.collect.ImmutableSet<String> defaultExcludeNs)
Construct a new child option instance.
|
Modifier and Type | Method and Description |
---|---|
static List<ChildOptionI> |
castChildOptions(Collection<omero.cmd.graphs.ChildOption> childOptions)
Cast
ChildOption[] to ChildOptionI[] . |
void |
init()
Initialize this child option instance.
|
Boolean |
isIncludeType(Class<? extends IObject> objectClass)
Test if this child option adjusts graph traversal policy for the given child object class.
|
boolean |
isTargetNamespace(String namespace)
Test if this child option adjusts graph traversal policy for child objects that are annotations in the given namespace.
|
__readImpl, __writeImpl, ice_factory, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __collocDispatch, __dispatch, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
public ChildOptionI(GraphPathBean graphPathBean, com.google.common.collect.ImmutableSet<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 Boolean isIncludeType(Class<? extends 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(String namespace)
init()
to have been called previously.namespace
- an annotation namespacepublic static List<ChildOptionI> castChildOptions(Collection<omero.cmd.graphs.ChildOption> childOptions)
ChildOption[]
to ChildOptionI[]
.childOptions
- an array of ChildOption
which may all be casted to ChildOptionI
, may be null
ChildOptionI
, may be null
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.