Package org.genesys.blocks.model
Class ClassPK
- java.lang.Object
-
- org.genesys.blocks.model.ClassPK
-
- All Implemented Interfaces:
Serializable
@Entity public class ClassPK extends Object implements Serializable
ClassPK allows us to reference Java full class names efficiently in the database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassPK()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClassname()Gets the classname.LonggetId()Gets the id.StringgetShortName()Gets the short name.inthashCode()voidsetClassname(String classname)Sets the classname.voidsetId(Long id)Sets the id.voidsetShortName(String shortName)Sets the short name.
-
-
-
Method Detail
-
getShortName
public String getShortName()
Gets the short name.- Returns:
- the short name
-
setShortName
public void setShortName(String shortName)
Sets the short name.- Parameters:
shortName- the new short name
-
getId
public Long getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(Long id)
Sets the id.- Parameters:
id- the new id
-
getClassname
public String getClassname()
Gets the classname.- Returns:
- the classname
-
setClassname
public void setClassname(String classname)
Sets the classname.- Parameters:
classname- the new classname
-
-