public class RoleObject.AssociationAccess extends Object
| Constructor and Description |
|---|
AssociationAccess()
Default constructor.
|
AssociationAccess(String associationName,
int associationType,
boolean useAccessMethod,
Class paramType)
Instanciates a new association access object.
|
| Modifier and Type | Method and Description |
|---|---|
Set |
getAssociation(Object actualObject)
Gets the association as a Set
|
String |
getAssociationName() |
Object |
getAssociationOnType(Object fromObject)
Gets the association based on the type of fromObject
|
int |
getAssociationType()
Returns the association type of this role object
|
boolean |
isUseAccessMethod() |
List |
obtainChangedLinesFromListBlock(Listblock theListBlock)
Returns all changed lines from the specified listblock.
|
List |
obtainLinesFromListBlock(Listblock theListBlock)
Returns all lines from the specified listblock.
|
void |
setAssociation(Object actualObject,
Object associationValue)
Sets the association on the actual object to the association value
object
|
void |
setAssociationName(String associationName) |
void |
setUseAccessMethod(boolean useAccessMethod) |
String |
toString() |
public AssociationAccess()
public AssociationAccess(String associationName, int associationType, boolean useAccessMethod, Class paramType)
associationName - the domain name of the associationassociationType - constantuseAccessMethod - if true, methods will be used to
access this association.paramType - the parameter typepublic int getAssociationType()
public Set getAssociation(Object actualObject)
actualObject - the object to get the association frompublic void setAssociation(Object actualObject, Object associationValue)
actualObject - the (domain) object) where the association should
be setassociationValue - the value of the association to setpublic List obtainChangedLinesFromListBlock(Listblock theListBlock)
theListBlock - the listblockpublic List obtainLinesFromListBlock(Listblock theListBlock)
theListBlock - the listblockpublic String getAssociationName()
public void setAssociationName(String associationName)
associationName - The associationName to set.public boolean isUseAccessMethod()
public void setUseAccessMethod(boolean useAccessMethod)
useAccessMethod - The useAccessMethod to set.Copyright © 2006–2020 Esito AS. All rights reserved.