com.stratelia.webactiv.persistence
Class IdPK
java.lang.Object
com.stratelia.webactiv.util.WAPrimaryKey
com.stratelia.webactiv.persistence.IdPK
- All Implemented Interfaces:
- Serializable, Cloneable
public class IdPK
- extends WAPrimaryKey
- See Also:
- Serialized Form
Methods inherited from class com.stratelia.webactiv.util.WAPrimaryKey |
clone, getComponentName, getId, getInstanceId, getRootTableName, getSpace, getSpaceId, getTableName, getTableName, setComponentName, setId, setSpace, toString |
IdPK
public IdPK()
IdPK
public IdPK(String id)
IdPK
public IdPK(int id)
IdPK
public IdPK(String id,
WAPrimaryKey value)
- IdPK(String id, WAPrimaryKey value)
equals
public boolean equals(Object other)
- equals
- Specified by:
equals
in class WAPrimaryKey
- Parameters:
other
- the object to compare to this WAPrimaryKey
- Returns:
- true if obj is equals to this object
setIdAsLong
public void setIdAsLong(long value)
- setIdAsLong( long value )
getIdAsLong
public long getIdAsLong()
- getIdAsLong()
hashCode
public int hashCode()
- Description copied from class:
WAPrimaryKey
- Returns a hash code for the key
- Overrides:
hashCode
in class WAPrimaryKey
- Returns:
- A hash code for this object
Copyright © 2016 Silverpeas. All Rights Reserved.