public List<RuntimeSearchParam> getSearchParams() { validateSealed(); return mySearchParams; }
public RuntimeSearchParam getSearchParam(String theName) { validateSealed(); return myNameToSearchParam.get(theName); }
/** * Will not return null */ public List<RuntimeSearchParam> getSearchParamsForCompartmentName(String theCompartmentName) { validateSealed(); List<RuntimeSearchParam> retVal = myCompartmentNameToSearchParams.get(theCompartmentName); if (retVal == null) { return Collections.emptyList(); } return retVal; }
/** * If this definition refers to a class which extends another resource definition type, this * method will return the definition of the topmost resource. For example, if this definition * refers to MyPatient2, which extends MyPatient, which in turn extends Patient, this method * will return the resource definition for Patient. * <p> * If the definition has no parent, returns <code>this</code> * </p> */ public RuntimeResourceDefinition getBaseDefinition() { validateSealed(); if (myBaseDefinition == null) { myBaseDefinition = myContext.getResourceDefinition(myBaseType); } return myBaseDefinition; }
@Deprecated public synchronized IBaseResource toProfile() { validateSealed(); if (myProfileDef != null) { return myProfileDef; } IBaseResource retVal = myContext.getVersion().generateProfile(this, null); myProfileDef = retVal; return retVal; }
public String getResourceProfile(String theServerBase) { validateSealed(); String profile; if (!myResourceProfile.isEmpty()) { profile = myResourceProfile; } else if (!myId.isEmpty()) { profile = myId; } else { return ""; } if (!UrlUtil.isValid(profile)) { String resourceName = "/StructureDefinition/"; String profileWithUrl = theServerBase + resourceName + profile; if (UrlUtil.isValid(profileWithUrl)) { return profileWithUrl; } } return profile; }
public synchronized IBaseResource toProfile(String theServerBase) { validateSealed(); if (myProfileDef != null) { return myProfileDef; } IBaseResource retVal = myContext.getVersion().generateProfile(this, theServerBase); myProfileDef = retVal; return retVal; }
public List<RuntimeSearchParam> getSearchParams() { validateSealed(); return mySearchParams; }
public RuntimeSearchParam getSearchParam(String theName) { validateSealed(); return myNameToSearchParam.get(theName); }
/** * Will not return null */ public List<RuntimeSearchParam> getSearchParamsForCompartmentName(String theCompartmentName) { validateSealed(); List<RuntimeSearchParam> retVal = myCompartmentNameToSearchParams.get(theCompartmentName); if (retVal == null) { return Collections.emptyList(); } return retVal; }
/** * If this definition refers to a class which extends another resource definition type, this * method will return the definition of the topmost resource. For example, if this definition * refers to MyPatient2, which extends MyPatient, which in turn extends Patient, this method * will return the resource definition for Patient. * <p> * If the definition has no parent, returns <code>this</code> * </p> */ public RuntimeResourceDefinition getBaseDefinition() { validateSealed(); if (myBaseDefinition == null) { myBaseDefinition = myContext.getResourceDefinition(myBaseType); } return myBaseDefinition; }
@Deprecated public synchronized IBaseResource toProfile() { validateSealed(); if (myProfileDef != null) { return myProfileDef; } IBaseResource retVal = myContext.getVersion().generateProfile(this, null); myProfileDef = retVal; return retVal; }
public String getResourceProfile(String theServerBase) { validateSealed(); String profile; if (!myResourceProfile.isEmpty()) { profile = myResourceProfile; } else if (!myId.isEmpty()) { profile = myId; } else { return ""; } if (!UrlUtil.isValid(profile)) { String resourceName = "/StructureDefinition/"; String profileWithUrl = theServerBase + resourceName + profile; if (UrlUtil.isValid(profileWithUrl)) { return profileWithUrl; } } return profile; }
public synchronized IBaseResource toProfile(String theServerBase) { validateSealed(); if (myProfileDef != null) { return myProfileDef; } IBaseResource retVal = myContext.getVersion().generateProfile(this, theServerBase); myProfileDef = retVal; return retVal; }