CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class ObjectFilterDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.ObjectFilterDto
All Implemented Interfaces:
BaseDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class ObjectFilterDto
extends IdentifiableDto

An ObjectFilterDto defines a filter for Dtos

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Constructor Summary
ObjectFilterDto()
          Create a default/empty ObjectFilter
ObjectFilterDto(IdentifiableDto owner, java.lang.Integer type, GroupDto domain, java.lang.String qualifier)
          Create a new ObjectFilter for objects of the specified type in the specified domain with the specified qualifier
ObjectFilterDto(ObjectFilterDto base)
          Create a shallow copy of an ObjectFilter
 
Method Summary
 boolean equals(java.lang.Object obj)
          Overridden.
 GroupDto getDomain()
          Get the domain of the objects to filter
 java.lang.String getQualifier()
          Get the optional qualifier of the objects to filter
 java.lang.Integer getType()
          Get the type of objects to filter
 int hashCode()
          Implemented hashCode() to be in sync with equals().
 void setDomain(GroupDto domain)
          Set the domain of the objects to filter
 void setQualifier(java.lang.String qualifier)
          Set the qualifier of the objects to filter
 void setType(java.lang.Integer type)
          Set the type of objects to filter
 java.lang.String toString()
           
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
clone, compare, compareInteger, compareTo, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectFilterDto

public ObjectFilterDto()
Create a default/empty ObjectFilter


ObjectFilterDto

public ObjectFilterDto(IdentifiableDto owner,
                       java.lang.Integer type,
                       GroupDto domain,
                       java.lang.String qualifier)
Create a new ObjectFilter for objects of the specified type in the specified domain with the specified qualifier

Parameters:
owner - is the owner of this filter
type - of objects to filter
domain - is the parent/domain of the objects to filter
qualifier - is an optional qualifier for the objects to filter, or null (no qualifier)

ObjectFilterDto

public ObjectFilterDto(ObjectFilterDto base)
Create a shallow copy of an ObjectFilter

Parameters:
base - ObjectFilter to copy
Method Detail

getType

public java.lang.Integer getType()
Get the type of objects to filter

Returns:
the type of objects to filter

setType

public void setType(java.lang.Integer type)
Set the type of objects to filter

Parameters:
type - of objects to filter

getDomain

public GroupDto getDomain()
Get the domain of the objects to filter

Returns:
the domain of the objects to filter

setDomain

public void setDomain(GroupDto domain)
Set the domain of the objects to filter

Parameters:
domain - is the parent/domain of the objects to filter

getQualifier

public java.lang.String getQualifier()
Get the optional qualifier of the objects to filter

Returns:
the qualifier of the objects to filter, or null (no qualifier)

setQualifier

public void setQualifier(java.lang.String qualifier)
Set the qualifier of the objects to filter

Parameters:
qualifier - is an optional qualifier for the objects to filter, or null (no qualifier)

hashCode

public int hashCode()
Implemented hashCode() to be in sync with equals().

Overrides:
hashCode in class IdentifiableDto

equals

public boolean equals(java.lang.Object obj)
Overridden.

Overrides:
equals in class IdentifiableDto

toString

public java.lang.String toString()
Overrides:
toString in class IdentifiableDto

CodeBeamer 5.4.0.1-RC API

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