diff options
Diffstat (limited to 'context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java')
-rw-r--r-- | context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java | 76 |
1 files changed, 4 insertions, 72 deletions
diff --git a/context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java b/context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java index 56b6c8ec4..78c5cb3fc 100644 --- a/context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java +++ b/context/context-management/src/main/java/org/onap/policy/apex/context/parameters/ContextParameters.java @@ -21,6 +21,8 @@ package org.onap.policy.apex.context.parameters; +import lombok.Getter; +import lombok.Setter; import org.onap.policy.common.parameters.ParameterGroupImpl; import org.onap.policy.common.parameters.annotations.NotNull; import org.onap.policy.common.parameters.annotations.Valid; @@ -45,6 +47,8 @@ import org.onap.policy.common.parameters.annotations.Valid; * </ol> */ @NotNull +@Getter +@Setter public class ContextParameters extends ParameterGroupImpl { private @Valid DistributorParameters distributorParameters = new DistributorParameters(); private @Valid SchemaParameters schemaParameters = new SchemaParameters(); @@ -59,78 +63,6 @@ public class ContextParameters extends ParameterGroupImpl { super(ContextParameterConstants.MAIN_GROUP_NAME); } - /** - * Gets the distributor parameters. - * - * @return the distributor parameters - */ - public DistributorParameters getDistributorParameters() { - return distributorParameters; - } - - /** - * Sets the distributor parameters. - * - * @param distributorParameters the distributor parameters - */ - public void setDistributorParameters(final DistributorParameters distributorParameters) { - this.distributorParameters = distributorParameters; - } - - /** - * Gets the schema parameters. - * - * @return the schema parameters - */ - public SchemaParameters getSchemaParameters() { - return schemaParameters; - } - - /** - * Sets the schema parameters. - * - * @param schemaParameters the schema parameters - */ - public void setSchemaParameters(final SchemaParameters schemaParameters) { - this.schemaParameters = schemaParameters; - } - - /** - * Gets the lock manager parameters. - * - * @return the lock manager parameters - */ - public LockManagerParameters getLockManagerParameters() { - return lockManagerParameters; - } - - /** - * Sets the lock manager parameters. - * - * @param lockManagerParameters the lock manager parameters - */ - public void setLockManagerParameters(final LockManagerParameters lockManagerParameters) { - this.lockManagerParameters = lockManagerParameters; - } - - /** - * Gets the persistor parameters. - * - * @return the persistor parameters - */ - public PersistorParameters getPersistorParameters() { - return persistorParameters; - } - - /** - * Sets the persistor parameters. - * - * @param persistorParameters the persistor parameters - */ - public void setPersistorParameters(final PersistorParameters persistorParameters) { - this.persistorParameters = persistorParameters; - } - @Override public String toString() { return "ContextParameters [name=" + getName() + ", distributorParameters=" + distributorParameters |