Class PropagationConstraintImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
-
- org.gcube.informationsystem.model.impl.properties.PropagationConstraintImpl
-
- All Implemented Interfaces:
Serializable,Element,PropertyElement,SchemaMixedElement,ModelElement,PropagationConstraint,Property
public final class PropagationConstraintImpl extends PropertyElementImpl 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.RemoveConstraint
-
-
Field Summary
Fields Modifier and Type Field Description protected PropagationConstraint.AddConstraintaddConstraintThe add 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, REDACTED, TYPE_PROPERTY, UNKNOWN_USER
-
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, 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.RemoveConstraintgetRemoveConstraint()Returns the propagation constraint for the 'remove' operation.voidsetAddConstraint(PropagationConstraint.AddConstraint addConstraint)Sets the propagation constraint for the 'add' 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
-
-
-
-
Field Detail
-
addConstraint
protected PropagationConstraint.AddConstraint addConstraint
The add 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.
-
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.
-
-