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.projection.HvlOAuthAuthorityDataModel
All Implemented Interfaces:
Serializable, Comparable<tr.com.havelsan.javarch.dto.model.HvlSimpleModel>, tr.com.havelsan.javarch.data.commons.structure.HvlModelStructure<Long>
Direct Known Subclasses:
HvlOAuthAuthorityClaimDataModel

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

    • HAS_CHILDREN_FIELD

      public static final String HAS_CHILDREN_FIELD
      The constant HAS_CHILDREN_FIELD.
      See Also:
    • HAS_ANY_SELECTED_CHILDREN_FIELD

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

    • HvlOAuthAuthorityDataModel

      public HvlOAuthAuthorityDataModel()
  • 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
    • isHasChildren

      public boolean isHasChildren()
      Is has children.
      Returns:
      the boolean
    • setHasChildren

      public void setHasChildren(boolean hasChildren)
      Sets has children.
      Parameters:
      hasChildren - the has children
    • isHasAnySelectedChildren

      public boolean isHasAnySelectedChildren()
      Is has any selected children boolean.
      Returns:
      the boolean
    • setHasAnySelectedChildren

      public void setHasAnySelectedChildren(boolean hasAnySelectedChildren)
      Sets has any selected children.
      Parameters:
      hasAnySelectedChildren - the has any selected children
    • 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>