Class UserRoleRef

java.lang.Object
com.broadleafcommerce.auth.resource.domain.UserRoleRef
All Implemented Interfaces:
Serializable

public class UserRoleRef extends Object implements Serializable
An alternative DTO object to use for the specific use case of being an element in collection fields of parent entities. Holds all non-collection fields of JpaUserRole.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • UserRoleRef

      public UserRoleRef(String id, String name)
    • UserRoleRef

      public UserRoleRef(String id, String name, boolean thirdPartyAssigned)
    • UserRoleRef

      public UserRoleRef()
  • Method Details

    • getId

      public String getId()
    • getName

      public String getName()
    • isThirdPartyAssigned

      public boolean isThirdPartyAssigned()
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
    • setThirdPartyAssigned

      public void setThirdPartyAssigned(boolean thirdPartyAssigned)
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object