summaryrefslogtreecommitdiffstats
path: root/context
diff options
context:
space:
mode:
Diffstat (limited to 'context')
-rw-r--r--context/context-management/src/main/java/org/onap/policy/apex/context/impl/schema/AbstractSchemaHelper.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/context/context-management/src/main/java/org/onap/policy/apex/context/impl/schema/AbstractSchemaHelper.java b/context/context-management/src/main/java/org/onap/policy/apex/context/impl/schema/AbstractSchemaHelper.java
index d94a59d38..2c2388953 100644
--- a/context/context-management/src/main/java/org/onap/policy/apex/context/impl/schema/AbstractSchemaHelper.java
+++ b/context/context-management/src/main/java/org/onap/policy/apex/context/impl/schema/AbstractSchemaHelper.java
@@ -23,7 +23,9 @@
package org.onap.policy.apex.context.impl.schema;
import java.lang.reflect.Constructor;
+import lombok.AccessLevel;
import lombok.Getter;
+import lombok.Setter;
import org.apache.commons.lang3.NotImplementedException;
import org.onap.policy.apex.context.ContextRuntimeException;
import org.onap.policy.apex.context.SchemaHelper;
@@ -52,18 +54,10 @@ public abstract class AbstractSchemaHelper implements SchemaHelper {
private AxContextSchema schema = null;
// The class of objects for this schema
+ @Setter(AccessLevel.PROTECTED)
private Class<?> schemaClass;
/**
- * Sets the schema class for the schema, designed jots to be called by sub classes.
- *
- * @param schemaClass the Java class that is used to hold items of this schema
- */
- protected void setSchemaClass(final Class<?> schemaClass) {
- this.schemaClass = schemaClass;
- }
-
- /**
* {@inheritDoc}.
*/
@Override