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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intThe medium text length, generally should be used to define lengths of larger than normalStringfields.static final intThe short text length, generally should be used to define lengths of small snippetStringfields.static final intThe "text" length, generally should be used to define lengths of slightly-larger than normalStringfields. -
Method Summary
-
Field Details
-
MEDIUM_TEXT_LENGTH
public static final int MEDIUM_TEXT_LENGTHThe medium text length, generally should be used to define lengths of larger than normalStringfields.- See Also:
-
TEXT_LENGTH
public static final int TEXT_LENGTHThe "text" length, generally should be used to define lengths of slightly-larger than normalStringfields.- See Also:
-
SHORT_TEXT_LENGTH
public static final int SHORT_TEXT_LENGTHThe short text length, generally should be used to define lengths of small snippetStringfields.- 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:
-