else if (value instanceof StringName)
rc = new TestOneLevelSubpackageExtendedREF((StringName)value);
else if (value instanceof String)
rc = new TestOneLevelSubpackageExtendedREF((String)value);
else
throw(new DmcValueException("Object of class: " + value.getClass().getName() + " passed where object compatible with TestOneLevelSubpackageExtendedREF, TestOneLevelSubpackageExtendedDMO or String expected."));
return(rc);
}