Class UserRoleRef
java.lang.Object
com.broadleafcommerce.auth.resource.domain.UserRoleRef
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionUserRoleRef
(String id, String name) UserRoleRef
(String id, String name, boolean thirdPartyAssigned) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
getName()
int
hashCode()
boolean
void
void
void
setThirdPartyAssigned
(boolean thirdPartyAssigned) toString()
-
Constructor Details
-
UserRoleRef
-
UserRoleRef
-
UserRoleRef
public UserRoleRef()
-
-
Method Details
-
getId
-
getName
-
isThirdPartyAssigned
public boolean isThirdPartyAssigned() -
setId
-
setName
-
setThirdPartyAssigned
public void setThirdPartyAssigned(boolean thirdPartyAssigned) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-