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 intRV_MANAGER_POSITIONstatic intRV_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 StringasString()booleanequals(Object obj)ResourceValidatorPkfromString(String... values)longgetManagerId()longgetResourceId()inthashCode()voidsetManagerId(long managerId)voidsetResourceId(long resourceId)StringtoString()-
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:
fromStringin interfaceorg.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
-
asString
public String asString()
- Specified by:
asStringin interfaceorg.silverpeas.core.ResourceIdentifier
-
-