Package com.broadleafcommerce.common.jpa
Class JpaConstants
- java.lang.Object
-
- com.broadleafcommerce.common.jpa.JpaConstants
-
public final class JpaConstants extends Object
Useful constants for JPA entity definitions.- Author:
- Samarth Dhruva (samarthd)
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTEXT_ID_LENGTHstatic intENUM_TYPE_LENGTHstatic intMEDIUM_TEXT_LENGTHThe medium text length, generally should be used to define lengths of larger than normalStringfields.static intSHORT_TEXT_LENGTHThe short text length, generally should be used to define lengths of small snippetStringfields.static intTEXT_LENGTHThe "text" length, generally should be used to define lengths of slightly-larger than normalStringfields.
-
-
-
Field Detail
-
MEDIUM_TEXT_LENGTH
public static final int MEDIUM_TEXT_LENGTH
The medium text length, generally should be used to define lengths of larger than normalStringfields.- See Also:
- Constant Field Values
-
TEXT_LENGTH
public static final int TEXT_LENGTH
The "text" length, generally should be used to define lengths of slightly-larger than normalStringfields.- See Also:
- Constant Field Values
-
SHORT_TEXT_LENGTH
public static final int SHORT_TEXT_LENGTH
The short text length, generally should be used to define lengths of small snippetStringfields.- See Also:
- Constant Field Values
-
CONTEXT_ID_LENGTH
public static final int CONTEXT_ID_LENGTH
- See Also:
- Constant Field Values
-
ENUM_TYPE_LENGTH
public static final int ENUM_TYPE_LENGTH
- See Also:
- Constant Field Values
-
-