eu.esdihumboldt.hale.common.align.model
Class ChildContext
java.lang.Object
eu.esdihumboldt.hale.common.align.model.ChildContext
@Immutable
public class ChildContext
- extends Object
Associates an instance context with a child definition.
- Author:
- Simon Templer
ChildContext
public ChildContext(ChildDefinition<?> child)
- Create a child with the default context
- Parameters:
child
- the child definition
ChildContext
public ChildContext(Integer contextName,
Integer index,
Condition condition,
ChildDefinition<?> child)
- Create a child context.
- Parameters:
contextName
- the instance context name, may be null
index
- the context index, may be null
condition
- the context condition, may be null
child
- the child definition
getContextName
public Integer getContextName()
- Returns:
- the instance context name
getChild
public ChildDefinition<?> getChild()
- Returns:
- the child definition
getIndex
public Integer getIndex()
- Returns:
- the index
getCondition
public Condition getCondition()
- Returns:
- the condition
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- See Also:
Object.hashCode()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
- See Also:
Object.equals(java.lang.Object)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d