Class ResourceValidatorPk
- java.lang.Object
-
- org.silverpeas.components.resourcesmanager.model.ResourceValidatorPk
-
- All Implemented Interfaces:
Serializable
,Comparable<org.silverpeas.core.persistence.datasource.model.EntityIdentifier>
,org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
,org.silverpeas.core.persistence.datasource.model.EntityIdentifier
,org.silverpeas.core.persistence.datasource.model.ExternalEntityIdentifier
,org.silverpeas.core.ResourceIdentifier
@Embeddable public class ResourceValidatorPk extends Object implements org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
- Author:
- ehugonnet
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
RV_MANAGER_POSITION
static int
RV_RESOURCE_POSITION
-
Constructor Summary
Constructors Constructor Description ResourceValidatorPk()
ResourceValidatorPk(long resourceId, long managerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asString()
boolean
equals(Object obj)
ResourceValidatorPk
fromString(String... values)
long
getManagerId()
long
getResourceId()
int
hashCode()
void
setManagerId(long managerId)
void
setResourceId(long resourceId)
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
-
-
-
-
Field Detail
-
RV_RESOURCE_POSITION
public static final int RV_RESOURCE_POSITION
- See Also:
- Constant Field Values
-
RV_MANAGER_POSITION
public static final int RV_MANAGER_POSITION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getManagerId
public long getManagerId()
-
setManagerId
public void setManagerId(long managerId)
-
getResourceId
public long getResourceId()
-
setResourceId
public void setResourceId(long resourceId)
-
fromString
public ResourceValidatorPk fromString(String... values)
- Specified by:
fromString
in interfaceorg.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
-
asString
public String asString()
- Specified by:
asString
in interfaceorg.silverpeas.core.ResourceIdentifier
-
-