Class JpaProductTerm
java.lang.Object
com.broadleafcommerce.catalog.provider.jpa.domain.product.JpaProductTerm
- All Implemented Interfaces:
com.broadleafcommerce.translation.mapping.SubIdentifiable
,Serializable
public class JpaProductTerm
extends Object
implements Serializable, com.broadleafcommerce.translation.mapping.SubIdentifiable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
getId()
Identifier used for tracking purposes, primarily related to keeping track of which translations belong to which value in the list.getName()
int
hashCode()
boolean
void
setDefault
(boolean isDefault) void
setDurationLength
(int durationLength) void
setDurationType
(String durationType) void
Identifier used for tracking purposes, primarily related to keeping track of which translations belong to which value in the list.void
toString()
-
Constructor Details
-
JpaProductTerm
public JpaProductTerm()
-
-
Method Details
-
getId
Identifier used for tracking purposes, primarily related to keeping track of which translations belong to which value in the list.- Specified by:
getId
in interfacecom.broadleafcommerce.translation.mapping.SubIdentifiable
-
getName
-
getDurationLength
public int getDurationLength() -
getDurationType
-
isDefault
public boolean isDefault() -
setId
Identifier used for tracking purposes, primarily related to keeping track of which translations belong to which value in the list.- Specified by:
setId
in interfacecom.broadleafcommerce.translation.mapping.SubIdentifiable
-
setName
-
setDurationLength
public void setDurationLength(int durationLength) -
setDurationType
-
setDefault
public void setDefault(boolean isDefault) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-