public class AttributeConstraintModel extends AbstractConstraintModel
Attribute constraint definition.
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
DESCRIPTOR
Generated constant - Attribute key of
AttributeConstraint.descriptor attribute defined at extension validation. |
static java.lang.String |
LANGUAGES
Generated constant - Attribute key of
AttributeConstraint.languages attribute defined at extension validation. |
static java.lang.String |
QUALIFIER
Generated constant - Attribute key of
AttributeConstraint.qualifier attribute defined at extension validation. |
ACTIVE, ANNOTATION, CONSTRAINTGROUPS, DEFAULTMESSAGE, ID, MESSAGE, NEEDRELOAD, SEVERITY, TARGET, TYPE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AttributeConstraintModel()
Generated constructor - Default constructor for generic creation.
|
AttributeConstraintModel(java.lang.Class _annotation,
java.lang.String _id)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AttributeConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
AttributeConstraintModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDescriptorModel |
getDescriptor()
Generated method - Getter of the
AttributeConstraint.descriptor attribute defined at extension validation. |
java.util.Set<LanguageModel> |
getLanguages()
Generated method - Getter of the
AttributeConstraint.languages attribute defined at extension validation. |
java.lang.String |
getQualifier()
Generated method - Getter of the
AttributeConstraint.qualifier attribute defined at extension validation. |
void |
setDescriptor(AttributeDescriptorModel value)
Generated method - Setter of
AttributeConstraint.descriptor attribute defined at extension validation. |
void |
setLanguages(java.util.Set<LanguageModel> value)
Generated method - Setter of
AttributeConstraint.languages attribute defined at extension validation. |
void |
setQualifier(java.lang.String value)
Generated method - Setter of
AttributeConstraint.qualifier attribute defined at extension validation. |
getAnnotation, getConstraintGroups, getDefaultMessage, getDefaultMessage, getId, getMessage, getMessage, getSeverity, getTarget, getType, isActive, isNeedReload, setActive, setAnnotation, setConstraintGroups, setId, setMessage, setMessage, setSeverity, setTarget, setTypegetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String QUALIFIER
AttributeConstraint.qualifier attribute defined at extension validation.public static final java.lang.String LANGUAGES
AttributeConstraint.languages attribute defined at extension validation.public static final java.lang.String DESCRIPTOR
AttributeConstraint.descriptor attribute defined at extension validation.public AttributeConstraintModel()
public AttributeConstraintModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public AttributeConstraintModel(java.lang.Class _annotation,
java.lang.String _id)
_annotation - initial attribute declared by type AbstractConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation@Deprecated
public AttributeConstraintModel(java.lang.Class _annotation,
java.lang.String _id,
ItemModel _owner)
_annotation - initial attribute declared by type AbstractConstraint at extension validation_id - initial attribute declared by type AbstractConstraint at extension validation_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="descriptor", type=GETTER) public AttributeDescriptorModel getDescriptor()
AttributeConstraint.descriptor attribute defined at extension validation.@Accessor(qualifier="languages", type=GETTER) public java.util.Set<LanguageModel> getLanguages()
AttributeConstraint.languages attribute defined at extension validation.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
AttributeConstraint.qualifier attribute defined at extension validation.@Accessor(qualifier="descriptor", type=SETTER) public void setDescriptor(AttributeDescriptorModel value)
AttributeConstraint.descriptor attribute defined at extension validation.value - the descriptor@Accessor(qualifier="languages", type=SETTER) public void setLanguages(java.util.Set<LanguageModel> value)
AttributeConstraint.languages attribute defined at extension validation.value - the languages - Languages for which constraint will be enforcedCopyright © 2018 SAP SE. All Rights Reserved.