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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from interface org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
COMPOSITE_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()booleanfromString(String... values) longlonginthashCode()booleanisNull()voidsetManagerId(long managerId) voidsetResourceId(long resourceId) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
setFromStringMethods inherited from interface org.silverpeas.core.persistence.datasource.model.EntityIdentifier
compareToMethods inherited from interface org.silverpeas.core.persistence.datasource.model.ExternalEntityIdentifier
generateNewValue
-
Field Details
-
RV_RESOURCE_POSITION
public static final int RV_RESOURCE_POSITION- See Also:
-
RV_MANAGER_POSITION
public static final int RV_MANAGER_POSITION- See Also:
-
-
Constructor Details
-
ResourceValidatorPk
public ResourceValidatorPk() -
ResourceValidatorPk
public ResourceValidatorPk(long resourceId, long managerId)
-
-
Method Details
-
getManagerId
public long getManagerId() -
setManagerId
public void setManagerId(long managerId) -
getResourceId
public long getResourceId() -
setResourceId
public void setResourceId(long resourceId) -
equals
-
hashCode
public int hashCode() -
toString
-
fromString
- Specified by:
fromStringin interfaceorg.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
-
asString
- Specified by:
asStringin interfaceorg.silverpeas.core.ResourceIdentifier
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceorg.silverpeas.core.persistence.datasource.model.EntityIdentifier
-