|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.GroupDto
com.intland.codebeamer.persistence.dto.ReadOnlyGroupDto
public class ReadOnlyGroupDto
A special GroupDto that doesn't allow to change it's attributes All attempts to invoke a property setter method will throw an UnsupportedOperationException
Nested Class Summary |
---|
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 |
---|
Fields inherited from class com.intland.codebeamer.persistence.dto.GroupDto |
---|
ACCOUNT_GROUP, UNSET_ID |
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferenceHolderDto |
---|
Accessor |
Constructor Summary | |
---|---|
ReadOnlyGroupDto(GroupDto group)
Create a read-only copy of the specified group |
Method Summary | |
---|---|
java.lang.Object |
clone()
Create a writable copy of this ReadOnlyDto Caution: The semantics are different than the standard Object.clone() method,
because the returned object's class is typically different from the ReadOnlyDtos's class |
void |
setId(java.lang.Integer id)
Sets its unique identifier. |
void |
setName(java.lang.String name)
Sets its (descriptive) name. |
void |
setObjectId(java.lang.Integer obj_id)
Get the object id of the protected entity |
void |
setParentId(java.lang.Integer parentId)
Set the id of the parent domain |
void |
setProjectId(java.lang.Integer pid)
Set the id of the project where the protected entity belongs to |
void |
setReference(ReferenceDto reference)
Set the reference to the protected entity |
void |
setTypeId(java.lang.Integer typeId)
Set the type of the protected entity |
Methods inherited from class com.intland.codebeamer.persistence.dto.GroupDto |
---|
equals, getObjectId, getParentId, getProjectId, getReference, getTypeId, hashCode |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto |
---|
compareNames, compareString, compareStringIgnoreCase, compareTo, createLookupMap, getName, toString |
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto |
---|
compare, compareInteger, equals, getId, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReadOnlyGroupDto(GroupDto group)
group
- Method Detail |
---|
public java.lang.Object clone()
ReadOnlyDto
Object.clone()
method,
because the returned object's class is typically different from the ReadOnlyDtos's class
clone
in interface ReadOnlyDto
clone
in class IdentifiableDto
public void setId(java.lang.Integer id)
IdentifiableDto
setId
in class IdentifiableDto
public void setName(java.lang.String name)
NamedDto
setName
in class NamedDto
public void setTypeId(java.lang.Integer typeId)
GroupDto
setTypeId
in class GroupDto
typeId
- of the protected entitypublic void setObjectId(java.lang.Integer obj_id)
GroupDto
setObjectId
in class GroupDto
obj_id
- of the protected entity, or null if not setpublic void setProjectId(java.lang.Integer pid)
GroupDto
setProjectId
in class GroupDto
pid
- of the project the protected entity belongs to, or null if entity is project independentpublic void setParentId(java.lang.Integer parentId)
GroupDto
setParentId
in class GroupDto
parentId
- is the id of the parent domain, or null if no parent existspublic void setReference(ReferenceDto reference)
GroupDto
setReference
in class GroupDto
reference
- identifies the protected entity
|
CodeBeamer 5.4.0.1-RC API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |