public final class Goals extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
Goals()
Creates new instance.
|
|
Goals(Collection<Goal> topGoals)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
GOElement |
getElemByModelId(String modelId)
Returns element by its model id or null if it does not exist.
|
GOElement |
getElemByName(String name)
Returns element by its name in the context or null if it does not exist.
|
Collection<GOElement> |
getElements()
Returns all the elements.
|
Collection<Goal> |
getTopGoals()
Returns the top goals.
|
protected Goals()
public Goals(Collection<Goal> topGoals)
topGoals
- NullPointerException
- if topGoals
is nullIllegalArgumentException
- if topGoals
contains nullpublic Collection<Goal> getTopGoals()
public Collection<GOElement> getElements()
public GOElement getElemByModelId(String modelId)
modelId
- public GOElement getElemByName(String name)
name
- public void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.