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
public final class PropagationConstraintImpl extends PropertyImpl implements PropagationConstraint
The default implementation of thePropagationConstraintinterface.- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gcube.informationsystem.model.reference.properties.PropagationConstraint
PropagationConstraint.AddConstraint, PropagationConstraint.DeleteConstraint, PropagationConstraint.RemoveConstraint
-
-
Field Summary
Fields Modifier and Type Field Description protected PropagationConstraint.AddConstraintaddConstraintThe add constraint.protected PropagationConstraint.DeleteConstraintdeleteConstraintThe delete constraint.protected PropagationConstraint.RemoveConstraintremoveConstraintThe remove constraint.-
Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys, expectedtype, supertypes
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
DATETIME_PATTERN, NAME, TYPE_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.ModelElement
EXPECTED_TYPE_PROPERTY, SUPERTYPES_PROPERTY
-
Fields inherited from interface org.gcube.informationsystem.model.reference.properties.PropagationConstraint
ADD_PROPERTY, DELETE_PROPERTY, NAME, REMOVE_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description PropagationConstraintImpl()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropagationConstraint.AddConstraintgetAddConstraint()Returns the propagation constraint for the 'add' operation.PropagationConstraint.DeleteConstraintgetDeleteConstraint()Returns the propagation constraint for the 'delete' operation.PropagationConstraint.RemoveConstraintgetRemoveConstraint()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, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
getTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.base.reference.Element
getTypeName
-
Methods inherited from interface org.gcube.informationsystem.model.reference.ModelElement
getExpectedtype, getSupertypes
-
Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
addConstraint
protected PropagationConstraint.AddConstraint addConstraint
The add constraint.
-
deleteConstraint
protected PropagationConstraint.DeleteConstraint deleteConstraint
The delete constraint.
-
removeConstraint
protected PropagationConstraint.RemoveConstraint removeConstraint
The remove constraint.
-
-
Method Detail
-
getAddConstraint
public PropagationConstraint.AddConstraint getAddConstraint()
Returns the propagation constraint for the 'add' operation.- Specified by:
getAddConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.AddConstraint.
-
setAddConstraint
public void setAddConstraint(PropagationConstraint.AddConstraint addConstraint)
Sets the propagation constraint for the 'add' operation.- Specified by:
setAddConstraintin interfacePropagationConstraint- Parameters:
addConstraint- ThePropagationConstraint.AddConstraintto set.
-
getDeleteConstraint
public PropagationConstraint.DeleteConstraint getDeleteConstraint()
Returns the propagation constraint for the 'delete' operation.- Specified by:
getDeleteConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.DeleteConstraint.
-
setDeleteConstraint
public void setDeleteConstraint(PropagationConstraint.DeleteConstraint deleteConstraint)
Sets the propagation constraint for the 'delete' operation.- Specified by:
setDeleteConstraintin interfacePropagationConstraint- Parameters:
deleteConstraint- ThePropagationConstraint.DeleteConstraintto set.
-
getRemoveConstraint
public PropagationConstraint.RemoveConstraint getRemoveConstraint()
Returns the propagation constraint for the 'remove' operation.- Specified by:
getRemoveConstraintin interfacePropagationConstraint- Returns:
- The
PropagationConstraint.RemoveConstraint.
-
setRemoveConstraint
public void setRemoveConstraint(PropagationConstraint.RemoveConstraint removeConstraint)
Sets the propagation constraint for the 'remove' operation.- Specified by:
setRemoveConstraintin interfacePropagationConstraint- Parameters:
removeConstraint- ThePropagationConstraint.RemoveConstraintto set.
-
-