Class UserPermissionRef

java.lang.Object
com.broadleafcommerce.auth.resource.domain.UserPermissionRef

public class UserPermissionRef extends Object
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 JpaUserPermission
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • UserPermissionRef

      public UserPermissionRef(String id, String name)
    • UserPermissionRef

      public UserPermissionRef()
  • Method Details

    • getId

      public String getId()
    • getName

      public String getName()
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
    • 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