Class PdcAxisValuePk
- java.lang.Object
-
- org.silverpeas.core.pdc.pdc.model.PdcAxisValuePk
-
- All Implemented Interfaces:
Serializable
,Comparable<EntityIdentifier>
,CompositeEntityIdentifier
,EntityIdentifier
,ExternalEntityIdentifier
,ResourceIdentifier
public class PdcAxisValuePk extends Object implements CompositeEntityIdentifier
The composite primary key used to store values of PdC's axis.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CE_AXIS_POSITION
static int
CE_VALUE_POSITION
-
Fields inherited from interface org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
COMPOSITE_SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description PdcAxisValuePk()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdcAxisValuePk
aPdcAxisValuePk(long valueId, long axisId)
static PdcAxisValuePk
aPdcAxisValuePk(String valueId, String axisId)
String
asString()
Gets the value of this identifier as a String.boolean
equals(Object obj)
PdcAxisValuePk
fromString(String... values)
Sets the value of this identifier from the specified values that will be part of this composite identifier.Long
getAxisId()
Long
getValueId()
int
hashCode()
void
setAxisId(Long axisId)
void
setValueId(Long valueId)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
fromString
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.model.EntityIdentifier
compareTo
-
Methods inherited from interface org.silverpeas.core.persistence.datasource.model.ExternalEntityIdentifier
generateNewId
-
-
-
-
Field Detail
-
CE_VALUE_POSITION
public static final int CE_VALUE_POSITION
- See Also:
- Constant Field Values
-
CE_AXIS_POSITION
public static final int CE_AXIS_POSITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
aPdcAxisValuePk
public static PdcAxisValuePk aPdcAxisValuePk(String valueId, String axisId)
-
aPdcAxisValuePk
public static PdcAxisValuePk aPdcAxisValuePk(long valueId, long axisId)
-
getAxisId
public Long getAxisId()
-
setAxisId
public void setAxisId(Long axisId)
-
getValueId
public Long getValueId()
-
setValueId
public void setValueId(Long valueId)
-
fromString
public PdcAxisValuePk fromString(String... values)
Description copied from interface:CompositeEntityIdentifier
Sets the value of this identifier from the specified values that will be part of this composite identifier.- Specified by:
fromString
in interfaceCompositeEntityIdentifier
- Parameters:
values
- the identifier values from which this composite identifier will be built.- Returns:
- this entity identifier.
-
asString
public String asString()
Description copied from interface:ResourceIdentifier
Gets the value of this identifier as a String.- Specified by:
asString
in interfaceResourceIdentifier
- Returns:
- the String representation of this identifier.
-
-