java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
tr.com.havelsan.javarch.dto.model.HvlModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.authority.model.HvlOAuthAuthorityModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
Direct Known Subclasses:
HvlOAuthAuthorityPersistModel

public class HvlOAuthAuthorityModel extends tr.com.havelsan.javarch.dto.model.HvlModel
A data transfer object is used for authority operations.
See Also:
  • Field Details

    • AUTHORITY_ID_SET_FIELD_NAME

      public static final String AUTHORITY_ID_SET_FIELD_NAME
      The constant AUTHORITY_ID_SET_FIELD_NAME.
      See Also:
    • CODE_FIELD_NAME

      public static final String CODE_FIELD_NAME
      The constant CODE_FIELD_NAME.
      See Also:
    • LABEL_FIELD_NAME

      public static final String LABEL_FIELD_NAME
      The constant LABEL_FIELD_NAME.
      See Also:
    • DESCRIPTION_FIELD_NAME

      public static final String DESCRIPTION_FIELD_NAME
      The constant DESCRIPTION_FIELD_NAME.
      See Also:
    • CRITICAL_FIELD_NAME

      public static final String CRITICAL_FIELD_NAME
      The constant CRITICAL_FIELD_NAME.
      See Also:
    • PARENT_FIELD_NAME

      public static final String PARENT_FIELD_NAME
      The constant PARENT_FIELD_NAME.
      See Also:
  • Constructor Details

    • HvlOAuthAuthorityModel

      public HvlOAuthAuthorityModel()
  • Method Details

    • getCode

      public String getCode()
      Gets code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets code.
      Parameters:
      code - the code
    • getLabel

      public String getLabel()
      Gets label.
      Returns:
      the label
    • setLabel

      public void setLabel(String label)
      Sets label.
      Parameters:
      label - the label
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getCritical

      public Boolean getCritical()
      Gets critical.
      Returns:
      the critical
    • setCritical

      public void setCritical(Boolean critical)
      Sets critical.
      Parameters:
      critical - the critical
    • getParent

      public HvlOAuthAuthorityModel getParent()
      Gets parent.
      Returns:
      the parent
    • setParent

      public void setParent(HvlOAuthAuthorityModel parent)
      Sets parent.
      Parameters:
      parent - the parent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class tr.com.havelsan.javarch.dto.model.HvlSimpleModel<Long>