Package com.broadleafcommerce.common.jpa
Class JpaConstants
java.lang.Object
com.broadleafcommerce.common.jpa.JpaConstants
Useful constants for JPA entity definitions.
- Author:
- Samarth Dhruva (samarthd)
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
The long text length, generally should be used to define lengths of the largestString
fields.static final int
The medium text length, generally should be used to define lengths of larger than normalString
fields.static final int
The short text length, generally should be used to define lengths of small snippetString
fields.static final int
The "text" length, generally should be used to define lengths of slightly-larger than normalString
fields. -
Method Summary
-
Field Details
-
LONG_TEXT_LENGTH
public static final int LONG_TEXT_LENGTHThe long text length, generally should be used to define lengths of the largestString
fields.- See Also:
-
MEDIUM_TEXT_LENGTH
public static final int MEDIUM_TEXT_LENGTHThe medium text length, generally should be used to define lengths of larger than normalString
fields.- See Also:
-
TEXT_LENGTH
public static final int TEXT_LENGTHThe "text" length, generally should be used to define lengths of slightly-larger than normalString
fields.- See Also:
-
SHORT_TEXT_LENGTH
public static final int SHORT_TEXT_LENGTHThe short text length, generally should be used to define lengths of small snippetString
fields.- See Also:
-
CONTEXT_ID_LENGTH
public static final int CONTEXT_ID_LENGTH- See Also:
-
ENUM_TYPE_LENGTH
public static final int ENUM_TYPE_LENGTH- See Also:
-