Class PropagationConstraintImpl
java.lang.Object
org.gcube.informationsystem.base.impl.ElementImpl
org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
org.gcube.informationsystem.model.impl.properties.PropertyImpl
org.gcube.informationsystem.model.impl.properties.PropagationConstraintImpl
- All Implemented Interfaces:
Serializable,Element,PropertyElement,SchemaMixedElement,ModelElement,PropagationConstraint,Property
The default implementation of the
PropagationConstraint interface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gcube.informationsystem.model.reference.properties.PropagationConstraint
PropagationConstraint.AddConstraint, PropagationConstraint.DeleteConstraint, PropagationConstraint.RemoveConstraint -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropagationConstraint.AddConstraintThe add constraint.protected PropagationConstraint.DeleteConstraintThe delete constraint.protected PropagationConstraint.RemoveConstraintThe remove constraint.Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypesFields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTYFields inherited from interface org.gcube.informationsystem.model.reference.properties.PropagationConstraint
ADD_PROPERTY, DELETE_PROPERTY, NAME, REMOVE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the propagation constraint for the 'add' operation.Returns the propagation constraint for the 'delete' operation.Returns the propagation constraint for the 'remove' operation.voidsetAddConstraint(PropagationConstraint.AddConstraint addConstraint) Sets the propagation constraint for the 'add' operation.voidsetDeleteConstraint(PropagationConstraint.DeleteConstraint deleteConstraint) Sets the propagation constraint for the 'delete' operation.voidsetRemoveConstraint(PropagationConstraint.RemoveConstraint removeConstraint) Sets the propagation constraint for the 'remove' operation.Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, getExpectedtype, getSupertypes, setAdditionalProperties, setAdditionalPropertyMethods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeNameMethods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypesMethods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Field Details
-
addConstraint
The add constraint. -
deleteConstraint
The delete constraint. -
removeConstraint
The remove constraint.
-
-
Constructor Details
-
PropagationConstraintImpl
public PropagationConstraintImpl()Default constructor.
-
-
Method Details
-
getAddConstraint
Returns the propagation constraint for the 'add' operation.- Specified by:
getAddConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.AddConstraint.
-
setAddConstraint
Sets the propagation constraint for the 'add' operation.- Specified by:
setAddConstraintin interfacePropagationConstraint- Parameters:
addConstraint- ThePropagationConstraint.AddConstraintto set.
-
getDeleteConstraint
Returns the propagation constraint for the 'delete' operation.- Specified by:
getDeleteConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.DeleteConstraint.
-
setDeleteConstraint
Sets the propagation constraint for the 'delete' operation.- Specified by:
setDeleteConstraintin interfacePropagationConstraint- Parameters:
deleteConstraint- ThePropagationConstraint.DeleteConstraintto set.
-
getRemoveConstraint
Returns the propagation constraint for the 'remove' operation.- Specified by:
getRemoveConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.RemoveConstraint.
-
setRemoveConstraint
Sets the propagation constraint for the 'remove' operation.- Specified by:
setRemoveConstraintin interfacePropagationConstraint- Parameters:
removeConstraint- ThePropagationConstraint.RemoveConstraintto set.
-