/** Constructor for AbstractConformanceDataType * @param hapiPrimitive the underlying primitive that the extending class represents */ public AbstractConformanceDataType(Primitive hapiPrimitive) { this.hapiPrimitive = hapiPrimitive; try { if ( getConstantValue() != null ) setValue( getConstantValue() ); } catch ( ConfDataException e ) { log.error( "Could not enforce constant value.", e ); } }
/** Constructor for AbstractConformanceDataType * @param hapiPrimitive the underlying primitive that the extending class represents */ public AbstractConformanceDataType(Primitive hapiPrimitive) { this.hapiPrimitive = hapiPrimitive; try { if ( getConstantValue() != null ) setValue( getConstantValue() ); } catch ( ConfDataException e ) { log.error( "Could not enforce constant value.", e ); } }