Fix build

This commit is contained in:
jamesagnew 2015-09-08 08:58:23 -04:00
parent 403fe28bd8
commit a733ad0949
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public class RuntimePrimitiveDatatypeDefinition extends BaseRuntimeElementDefini
if (myProfileOfType != null) { if (myProfileOfType != null) {
myProfileOf = theClassToElementDefinitions.get(myProfileOfType); myProfileOf = theClassToElementDefinitions.get(myProfileOfType);
if (myProfileOf == null) { if (myProfileOf == null) {
throw new ConfigurationException("Unknown profileOf value: " + myProfileOfType); throw new ConfigurationException("Unknown profileOf value: " + myProfileOfType + " in type " + getImplementingClass().getName());
} }
} }
} }

View File

@ -81,7 +81,7 @@ import org.hl7.fhir.instance.model.api.IPrimitiveType;
* Regex for ID: [a-z0-9\-\.]{1,36} * Regex for ID: [a-z0-9\-\.]{1,36}
* </p> * </p>
*/ */
@DatatypeDef(name = "id", profileOf=Type.class) @DatatypeDef(name = "id", profileOf=StringType.class)
public final class IdType extends UriType implements IPrimitiveType<String>, IIdType { public final class IdType extends UriType implements IPrimitiveType<String>, IIdType {
/** /**
* This is the maximum length for the ID * This is the maximum length for the ID