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<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<omero.cmd.graphs.ChildOption> childOptions)
Cast
ChildOption[] to ChildOptionI[] . |
void |
init()
Initialize this child option instance.
|
java.lang.Boolean |
isIncludeType(java.lang.Class<? extends 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, 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<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 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<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.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.