Class ThumbnailReference
- java.lang.Object
-
- org.silverpeas.core.WAPrimaryKey
-
- org.silverpeas.core.ResourceReference
-
- org.silverpeas.core.io.media.image.thumbnail.model.ThumbnailReference
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ComponentResourceIdentifier
,ResourceIdentifier
public class ThumbnailReference extends ResourceReference
- Author:
- silveryocha
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.ResourceReference
UNKNOWN_ID
-
Fields inherited from class org.silverpeas.core.WAPrimaryKey
componentName, id, space
-
-
Constructor Summary
Constructors Constructor Description ThumbnailReference(int id, String componentInstanceId, int objectType)
ThumbnailReference(String id, String componentInstanceId, int objectType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Is the an another object is aResourceReference
instance and is equal to this object.int
getObjectId()
int
getObjectType()
int
hashCode()
Gets the hash code of this reference.void
setObjectId(int objectId)
void
setObjectType(int objectType)
-
Methods inherited from class org.silverpeas.core.ResourceReference
asString, getComponentInstanceId, getLocalId, to
-
Methods inherited from class org.silverpeas.core.WAPrimaryKey
clone, getComponentName, getId, getInstanceId, getRootTableName, getSpace, getSpaceId, getTableName, getTableName, setComponentName, setId, setSpace, toResourceReference, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.ComponentResourceIdentifier
toReference
-
-
-
-
Method Detail
-
getObjectId
public int getObjectId()
-
setObjectId
public void setObjectId(int objectId)
-
getObjectType
public int getObjectType()
-
setObjectType
public void setObjectType(int objectType)
-
equals
public boolean equals(Object o)
Description copied from class:ResourceReference
Is the an another object is aResourceReference
instance and is equal to this object.- Overrides:
equals
in classResourceReference
- Parameters:
o
- the object to compare to this reference.- Returns:
- true if other is equals to this reference. False otherwise.
-
hashCode
public int hashCode()
Description copied from class:ResourceReference
Gets the hash code of this reference.- Overrides:
hashCode
in classResourceReference
- Returns:
- an integer
-
-