Class 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
    • Constructor Detail

      • ResourceValidatorPk

        public ResourceValidatorPk()
      • ResourceValidatorPk

        public ResourceValidatorPk​(long resourceId,
                                   long managerId)
    • Method Detail

      • getManagerId

        public long getManagerId()
      • setManagerId

        public void setManagerId​(long managerId)
      • getResourceId

        public long getResourceId()
      • setResourceId

        public void setResourceId​(long resourceId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromString

        public ResourceValidatorPk fromString​(String... values)
        Specified by:
        fromString in interface org.silverpeas.core.persistence.datasource.model.CompositeEntityIdentifier
      • asString

        public String asString()
        Specified by:
        asString in interface org.silverpeas.core.ResourceIdentifier