// The Apex compatible class
private static final Class<String> schemaClass = String.class;
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#getJavaClass()
+ /**
+ * {@inheritDoc}.
*/
@Override
public Class<?> getJavaClass() {
return schemaClass;
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#setAvroType(org.apache.
- * avro. Schema.Type)
+ /**
+ * {@inheritDoc}.
*/
@Override
public void init(final AxKey initUserKey, final Type initAvroType) {
this.avroType = initAvroType;
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#createNewinstance(org.
- * apache. avro.Schema)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object createNewInstance(final Schema avroSchema) {
return null;
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#getAvroType()
+ /**
+ * {@inheritDoc}.
*/
@Override
public Type getAvroType() {
return avroType;
}
- /*
- * (non-Javadoc)
- *
- * @see org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#mapFromAvro(java.lang.
- * Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object mapFromAvro(final Object avroObject) {
return avroObject.toString();
}
- /*
- * (non-Javadoc)
- *
- * @see
- * org.onap.policy.apex.plugins.context.schema.avro.AvroObjectMapper#mapToAvro(java.lang.Object)
+ /**
+ * {@inheritDoc}.
*/
@Override
public Object mapToAvro(final Object object) {