Class HvlOAuthProfileCopiablePersistModel

java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>

@Validated public class HvlOAuthProfileCopiablePersistModel extends HvlOAuthProfilePersistModel
A data transfer object is used for profile copy operations.
See Also:
  • Constructor Details

    • HvlOAuthProfileCopiablePersistModel

      public HvlOAuthProfileCopiablePersistModel()
  • Method Details

    • getSourceProfileIdToCopy

      public Long getSourceProfileIdToCopy()
      Gets source profile id.
      Returns:
      the source profile id
    • setSourceProfileIdToCopy

      public void setSourceProfileIdToCopy(Long sourceProfileIdToCopy)
      Sets source profile id.
      Parameters:
      sourceProfileIdToCopy - the source profile id
    • isCopyRoles

      public boolean isCopyRoles()
      Is copy roles boolean.
      Returns:
      the boolean
    • setCopyRoles

      public void setCopyRoles(boolean copyRoles)
      Sets copy roles.
      Parameters:
      copyRoles - the copy roles
    • isCopyRoleGroups

      public boolean isCopyRoleGroups()
      Is copy role groups boolean.
      Returns:
      the boolean
    • setCopyRoleGroups

      public void setCopyRoleGroups(boolean copyRoleGroups)
      Sets copy role groups.
      Parameters:
      copyRoleGroups - the copy role groups
    • isCopyProfileGroups

      public boolean isCopyProfileGroups()
      Is copy profile groups boolean.
      Returns:
      the boolean
    • setCopyProfileGroups

      public void setCopyProfileGroups(boolean copyProfileGroups)
      Sets copy profile groups.
      Parameters:
      copyProfileGroups - the copy profile groups
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class HvlOAuthProfilePersistModel
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class HvlOAuthProfilePersistModel