Class JpaApplication
- java.lang.Object
-
- com.broadleafcommerce.auth.tenant.provider.jpa.domain.JpaApplication
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,Serializable
@Entity public class JpaApplication extends Object implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
An entity holding information about an application registered via the tenant service- Author:
- Jeff Fischer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaApplication()
JpaApplication(String id, String identifierType, String identifierValue, boolean deactivated, String customerContextId, String tenantId, Instant lastUpdated, boolean isMarketplace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
org.modelmapper.ModelMapper
fromMe()
Class<?>
getBusinessDomainType()
String
getCustomerContextId()
String
getId()
String
getIdentifierType()
String
getIdentifierValue()
Instant
getLastUpdated()
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).String
getTenantId()
int
hashCode()
boolean
isDeactivated()
boolean
isMarketplace()
void
setCustomerContextId(String customerContextId)
void
setDeactivated(boolean deactivated)
void
setId(String id)
void
setIdentifierType(String identifierType)
void
setIdentifierValue(String identifierValue)
void
setLastUpdated(Instant lastUpdated)
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).void
setMarketplace(boolean isMarketplace)
void
setTenantId(String tenantId)
org.modelmapper.ModelMapper
toMe()
String
toString()
-
-
-
Method Detail
-
fromMe
public org.modelmapper.ModelMapper fromMe()
- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()
- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
public String getId()
- See Also:
Application.getId()
-
getIdentifierType
public String getIdentifierType()
- See Also:
Application.getIdentifierType()
-
getIdentifierValue
public String getIdentifierValue()
- See Also:
Application.getIdentifierValue()
-
isDeactivated
public boolean isDeactivated()
- See Also:
Application.isDeactivated()
-
getCustomerContextId
public String getCustomerContextId()
- See Also:
Application.getCustomerContextId()
-
getTenantId
public String getTenantId()
-
getLastUpdated
public Instant getLastUpdated()
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).- See Also:
Application.lastUpdated
-
isMarketplace
public boolean isMarketplace()
- See Also:
Application.isMarketplace()
-
setId
public void setId(String id)
- See Also:
Application.getId()
-
setIdentifierType
public void setIdentifierType(String identifierType)
- See Also:
Application.getIdentifierType()
-
setIdentifierValue
public void setIdentifierValue(String identifierValue)
- See Also:
Application.getIdentifierValue()
-
setDeactivated
public void setDeactivated(boolean deactivated)
- See Also:
Application.isDeactivated()
-
setCustomerContextId
public void setCustomerContextId(String customerContextId)
- See Also:
Application.getCustomerContextId()
-
setTenantId
public void setTenantId(String tenantId)
-
setLastUpdated
public void setLastUpdated(Instant lastUpdated)
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).- See Also:
Application.lastUpdated
-
setMarketplace
public void setMarketplace(boolean isMarketplace)
- See Also:
Application.isMarketplace()
-
canEqual
protected boolean canEqual(Object other)
-
-