com.intland.codebeamer.persistence.dto
Class AssociationTypeDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.AssociationTypeDto
- All Implemented Interfaces:
- BaseDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class AssociationTypeDto
- extends DescribeableDto
Wraps an association type.
Used by AssociationDto
.
- See Also:
- Serialized Form
Field Summary |
static java.lang.Integer |
CHILD
|
static java.lang.Integer |
DEPENDS
|
static java.lang.Integer |
PARENT
|
static java.lang.Integer |
RELATED
|
Method Summary |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
java.util.List<ObjectFilterDto> |
getFilters()
Get the list of filters for the potential target objects of this association type |
GroupDto |
getScope()
Get the scope of this association type |
java.lang.Integer |
getSortOrder()
Returns its sortOrder. |
int |
hashCode()
|
boolean |
isSimple()
Check if this association-type is a simple AssociationType, without any ObjectFilterDtos |
void |
setFilters(java.util.List<ObjectFilterDto> filters)
Set the list of filters for the potential target objects of this association type |
void |
setScope(GroupDto scope)
Set the scope of this association type |
void |
setSortOrder(java.lang.Integer sortOrder)
Sets its sortOrder. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DEPENDS
public static final java.lang.Integer DEPENDS
PARENT
public static final java.lang.Integer PARENT
CHILD
public static final java.lang.Integer CHILD
RELATED
public static final java.lang.Integer RELATED
AssociationTypeDto
public AssociationTypeDto()
getScope
public GroupDto getScope()
- Get the scope of this association type
- Returns:
- the GroupDto identifying the scope of this association type
setScope
public void setScope(GroupDto scope)
- Set the scope of this association type
- Parameters:
scope
- is the GroupDto identifying the scope of this association type
getSortOrder
public java.lang.Integer getSortOrder()
- Returns its sortOrder.
setSortOrder
public void setSortOrder(java.lang.Integer sortOrder)
- Sets its sortOrder.
getFilters
public java.util.List<ObjectFilterDto> getFilters()
- Get the list of filters for the potential target objects of this association type
- Returns:
- the list of filters for the potential target objects of this association type
setFilters
public void setFilters(java.util.List<ObjectFilterDto> filters)
- Set the list of filters for the potential target objects of this association type
- Parameters:
filters
- is a list of filters for the potential target objects of this association type
isSimple
public boolean isSimple()
- Check if this association-type is a simple AssociationType, without any ObjectFilterDtos
clone
public java.lang.Object clone()
- Overrides:
clone
in class IdentifiableDto
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class NamedDto
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class NamedDto
Copyright © 2006-2009 Intland Software. All rights reserved.