@Entity public class JpaUserPermission extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
Constructor and Description |
---|
JpaUserPermission() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
org.modelmapper.ModelMapper |
fromMe() |
Class<?> |
getBusinessDomainType() |
String |
getId() |
Instant |
getLastUpdated()
We don't use
LastModifiedDate here because we want to enable manually setting this
value (ex: for setting the lastUpdated to a value received in a persistence message). |
String |
getName() |
int |
hashCode() |
boolean |
isArchived() |
void |
setArchived(boolean archived) |
void |
setId(String id) |
void |
setLastUpdated(Instant lastUpdated)
We don't use
LastModifiedDate here because we want to enable manually setting this
value (ex: for setting the lastUpdated to a value received in a persistence message). |
void |
setName(String name) |
org.modelmapper.ModelMapper |
toMe() |
String |
toString() |
public org.modelmapper.ModelMapper fromMe()
fromMe
in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
public org.modelmapper.ModelMapper toMe()
toMe
in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
public Class<?> getBusinessDomainType()
getBusinessDomainType
in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
public String getId()
public String getName()
public Instant getLastUpdated()
LastModifiedDate
here because we want to enable manually setting this
value (ex: for setting the lastUpdated to a value received in a persistence message).UserPermission.lastUpdated
public boolean isArchived()
UserPermission.archived
public void setId(String id)
public void setName(String name)
public void setLastUpdated(Instant lastUpdated)
LastModifiedDate
here because we want to enable manually setting this
value (ex: for setting the lastUpdated to a value received in a persistence message).UserPermission.lastUpdated
public void setArchived(boolean archived)
UserPermission.archived
protected boolean canEqual(Object other)
Copyright © 2021. All rights reserved.