|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object i3.dragos.gm.core.proxy.ProxyUnwrapTool
public class ProxyUnwrapTool
Utility class to simplify the unwrapping of proxy graph elements.
Constructor Summary | |
---|---|
ProxyUnwrapTool()
|
Method Summary | |
---|---|
static java.util.Collection<GraphEntity> |
unwrapAllGraphEntities(java.util.Collection<? extends GraphEntity> c)
All graph entities in the given collection are unwrapped. |
static java.util.Collection<GraphEntityClass> |
unwrapAllGraphEntityClasses(java.util.Collection<? extends GraphEntityClass> c)
All graph entity classes in the given collection are unwrapped. |
static Attribute |
unwrapAttribute(Attribute a)
Completely removes all additional layers around an attribute. |
static Edge |
unwrapEdge(Edge g)
Variant of unwrapGraphEntity(GraphEntity) to avoid casting. |
static EdgeClass |
unwrapEdgeClass(EdgeClass g)
Variant of unwrapGraphEntityClass(GraphEntityClass) to avoid
casting. |
static Graph |
unwrapGraph(Graph g)
Variant of unwrapGraphEntity(GraphEntity) to avoid casting. |
static GraphClass |
unwrapGraphClass(GraphClass g)
Variant of unwrapGraphEntityClass(GraphEntityClass) to avoid
casting. |
static GraphEntity |
unwrapGraphEntity(GraphEntity g)
Completely removes all additional layers around an entity. |
static GraphEntityClass |
unwrapGraphEntityClass(GraphEntityClass g)
Completely removes all additional layers around an entity class. |
static Node |
unwrapNode(Node g)
Variant of unwrapGraphEntity(GraphEntity) to avoid casting. |
static NodeClass |
unwrapNodeClass(NodeClass g)
Variant of unwrapGraphEntityClass(GraphEntityClass) to avoid
casting. |
static Relation |
unwrapRelation(Relation g)
Variant of unwrapGraphEntity(GraphEntity) to avoid casting. |
static RelationClass |
unwrapRelationClass(RelationClass g)
Variant of unwrapGraphEntityClass(GraphEntityClass) to avoid
casting. |
static RelationEnd |
unwrapRelationEnd(RelationEnd g)
Variant of unwrapGraphEntity(GraphEntity) to avoid casting. |
static RelationEndClass |
unwrapRelationEndClass(RelationEndClass g)
Variant of unwrapGraphEntityClass(GraphEntityClass) to avoid
casting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyUnwrapTool()
Method Detail |
---|
public static final GraphEntity unwrapGraphEntity(GraphEntity g)
null
, null
is returned, so
this method may be called before parameter checking.
g
- The entity to unwrap.
public static final Edge unwrapEdge(Edge g)
unwrapGraphEntity(GraphEntity)
to avoid casting.
g
- The entity to unwrap.
public static final Graph unwrapGraph(Graph g)
unwrapGraphEntity(GraphEntity)
to avoid casting.
g
- The entity to unwrap.
public static final Node unwrapNode(Node g)
unwrapGraphEntity(GraphEntity)
to avoid casting.
g
- The entity to unwrap.
public static final Relation unwrapRelation(Relation g)
unwrapGraphEntity(GraphEntity)
to avoid casting.
g
- The entity to unwrap.
public static final RelationEnd unwrapRelationEnd(RelationEnd g)
unwrapGraphEntity(GraphEntity)
to avoid casting.
g
- The entity to unwrap.
public static final GraphEntityClass unwrapGraphEntityClass(GraphEntityClass g)
null
, null
is returned, so
this method may be called before parameter checking.
g
- The entity class to unwrap.
public static final EdgeClass unwrapEdgeClass(EdgeClass g)
unwrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- The entity class to unwrap.
public static final GraphClass unwrapGraphClass(GraphClass g)
unwrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- The entity class to unwrap.
public static final NodeClass unwrapNodeClass(NodeClass g)
unwrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- The entity class to unwrap.
public static final RelationClass unwrapRelationClass(RelationClass g)
unwrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- The entity class to unwrap.
public static final RelationEndClass unwrapRelationEndClass(RelationEndClass g)
unwrapGraphEntityClass(GraphEntityClass)
to avoid
casting.
g
- The entity class to unwrap.
public static final Attribute unwrapAttribute(Attribute a)
null
, null
is returned, so
this method may be called before parameter checking.
a
- The attribute to unwrap.
public static final java.util.Collection<GraphEntity> unwrapAllGraphEntities(java.util.Collection<? extends GraphEntity> c)
c
- A collection of GraphEntity instances.
public static final java.util.Collection<GraphEntityClass> unwrapAllGraphEntityClasses(java.util.Collection<? extends GraphEntityClass> c)
c
- A collection of GraphEntityClasses instances.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |