Class EncapsulatedObjectid
java.lang.Object
com.polarion.subterra.base.data.identification.EncapsulatedObjectid
- All Implemented Interfaces:
IEncapsulatedObjectId
,Serializable
Sole implementation of
IEncapsulatedObjectId
.- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEncapsulatedObjectid
(String objectIdSpecificPrefix, IObjectId objectId) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return enapsulated object id.int
hashCode()
setObjectId
(IObjectId id) Set new object id and return new instance.toString()
-
Constructor Details
-
EncapsulatedObjectid
Constructor.- Parameters:
objectIdSpecificPrefix
- service specific part prefix for string representationobjectId
- object id- Throws:
IllegalArgumentException
- if objectIdSpecificPrefix isnull
IllegalArgumentException
- if objectId isnull
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
setObjectId
Description copied from interface:IEncapsulatedObjectId
Set new object id and return new instance.- Specified by:
setObjectId
in interfaceIEncapsulatedObjectId
- Parameters:
id
- object id- Returns:
- new instance
-
getObjectId
Description copied from interface:IEncapsulatedObjectId
Return enapsulated object id.- Specified by:
getObjectId
in interfaceIEncapsulatedObjectId
- Returns:
- object id (not
null
)
-