CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class AssociationTypeDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.base.NamedDto
          extended by com.intland.codebeamer.persistence.dto.base.DescribeableDto
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
DescribeableDto.DescriptionComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
NamedDto.NameComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Field Summary
static java.lang.Integer CHILD
           
static java.lang.Integer DEPENDS
           
static java.lang.Integer PARENT
           
static java.lang.Integer RELATED
           
 
Constructor Summary
AssociationTypeDto()
           
 
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 com.intland.codebeamer.persistence.dto.base.DescribeableDto
compareByDescription, getDescription, getDescriptionFormat, setDescription, setDescriptionFormat
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, getName, setName, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
compare, compareInteger, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

AssociationTypeDto

public AssociationTypeDto()
Method Detail

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

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.