public class ObjectSelection extends Object implements Serializable
| Constructor and Description |
|---|
ObjectSelection()
Create an empty ObjectSelection.
|
ObjectSelection(Object currentRoot,
String currentRootName,
String targetRoleName,
String applicationName,
String objectSelectionName)
The constructor to use when instantiating a completed ObjectSelection
object.
|
ObjectSelection(String currentRootName,
String targetRoleName,
String applicationName,
String objectSelectionName)
The constructor to use when instantiating a partially completed
ObjectSelection object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Object,ActionType> |
getActions() |
String |
getApplicationName()
Access method for the applicationName property.
|
String |
getCurrentRootName()
Access method for the currentRootName property.
|
boolean |
getDoAnyLevelManyRelated() |
boolean |
getDoFirstLevelManyRelated() |
boolean |
getDoOneRelated() |
boolean |
getDoParents() |
FindData |
getFindData() |
String |
getObjectSelectionName()
Access method for the objectSelectionName property.
|
Object |
getRootObject(String rootName)
Get the domain object for the given root role name.
|
List<Object> |
getRootObjects(String rootName)
Get the list of domain objects for the given root role name.
|
boolean |
getSetsContainAllRelated() |
String |
getTargetMainKey() |
String |
getTargetRoleName()
Access method for the targetRoleName property.
|
void |
putRootObject(String rootName,
Object rootObject)
Put a domain object for the given root role name.
|
void |
putRootObjects(String rootName,
List<Object> rootObjects)
Put a list of domain objects for the given root role name.
|
void |
removeAllRootObjects()
Remove all entered root objects
|
void |
setActions(Map<Object,ActionType> actions)
Sets the actions map
|
void |
setApplicationName(String aApplicationName)
Sets the value of the applicationName property.
|
void |
setCurrentRootName(String aCurrentRootName)
Sets the value of the currentRootName property.
|
void |
setDoAnyLevelManyRelated(boolean doAnyLevelManyRelated)
Sets the doAnyLevelManyRelated flag
|
void |
setDoFirstLevelManyRelated(boolean doFirstLevelManyRelated)
Sets the doFirstLevelManyRelated flag
|
void |
setDoOneRelated(boolean doOneRelated)
Sets the doOneRelated flag
|
void |
setDoParents(boolean doParents)
Sets the doParents flag
|
void |
setFindData(FindData findData) |
void |
setObjectSelectionName(String aObjectSelectionName)
Sets the value of the objectSelectionName property.
|
void |
setSetsContainAllRelated(boolean setsContainAllRelated)
Sets the setsContainAllRelated flag
|
void |
setTargetMainKey(String targetMainKey)
The main key used to identify the target role instance.
|
void |
setTargetRoleName(String aTargetRoleName)
Sets the value of the targetRoleName property.
|
String |
toString() |
public ObjectSelection(Object currentRoot, String currentRootName, String targetRoleName, String applicationName, String objectSelectionName)
currentRoot - The current root role objectcurrentRootName - The name of the current root roletargetRoleName - The name of the target role for the actionapplicationName - The name of the applicationobjectSelectionName - The name of the object selectionpublic ObjectSelection(String currentRootName, String targetRoleName, String applicationName, String objectSelectionName)
currentRootName - The name of the current root roletargetRoleName - The name of the target role for the actionapplicationName - The name of the applicationobjectSelectionName - The name of the object selectionpublic ObjectSelection()
public void removeAllRootObjects()
public void putRootObject(String rootName, Object rootObject)
rootName - The name of the root role for the domain object, or
currentRootName if nullrootObject - The domain objectpublic void putRootObjects(String rootName, List<Object> rootObjects)
rootName - The name of the root role for the domain objects, or
currentRootName if nullrootObjects - The list of domain objectspublic Object getRootObject(String rootName)
rootName - The name of the root role for the domain object, or
currentRootName if nullpublic List<Object> getRootObjects(String rootName)
rootName - The name of the root role for the domain object, or
currentRootName if nullpublic String getCurrentRootName()
public void setCurrentRootName(String aCurrentRootName)
aCurrentRootName - the new value of the currentRootName propertypublic String getTargetRoleName()
public void setTargetRoleName(String aTargetRoleName)
aTargetRoleName - the new value of the targetRoleName propertypublic String getObjectSelectionName()
public void setObjectSelectionName(String aObjectSelectionName)
aObjectSelectionName - the new value of the objectSelectionName
propertypublic String getApplicationName()
public void setApplicationName(String aApplicationName)
aApplicationName - the new value of the applicationName propertypublic FindData getFindData()
public void setFindData(FindData findData)
findData - The findData to set.public String getTargetMainKey()
public void setTargetMainKey(String targetMainKey)
targetMainKey - (missing javadoc)public boolean getSetsContainAllRelated()
public void setSetsContainAllRelated(boolean setsContainAllRelated)
setsContainAllRelated - (missing javadoc)public Map<Object,ActionType> getActions()
public void setActions(Map<Object,ActionType> actions)
actions - (missing javadoc)public boolean getDoParents()
public void setDoParents(boolean doParents)
doParents - (missing javadoc)public boolean getDoOneRelated()
public void setDoOneRelated(boolean doOneRelated)
doOneRelated - (missing javadoc)public boolean getDoFirstLevelManyRelated()
public void setDoFirstLevelManyRelated(boolean doFirstLevelManyRelated)
doFirstLevelManyRelated - (missing javadoc)public boolean getDoAnyLevelManyRelated()
public void setDoAnyLevelManyRelated(boolean doAnyLevelManyRelated)
doAnyLevelManyRelated - (missing javadoc)Copyright © 2006–2017 Esito AS. All rights reserved.