public abstract class BaseElement extends Object implements ISupportsUndeclaredExtensions
| Constructor and Description |
|---|
BaseElement() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionDt |
addUndeclaredExtension(boolean theIsModifier,
String theUrl)
Adds an extension to this object.
|
ExtensionDt |
addUndeclaredExtension(boolean theIsModifier,
String theUrl,
IBaseDatatype theValue)
Adds an extension to this object
|
void |
addUndeclaredExtension(ExtensionDt theExtension)
Adds an extension to this object.
|
List<ExtensionDt> |
getAllUndeclaredExtensions()
Returns an immutable list containing all extensions (modifier and non-modifier).
|
List<String> |
getFormatCommentsPost()
Returns a list of comments appearing immediately after this element within the serialized
form of the resource.
|
List<String> |
getFormatCommentsPre()
Returns a list of comments appearing immediately before this element within the serialized
form of the resource.
|
List<ExtensionDt> |
getUndeclaredExtensions()
Returns a list containing all undeclared non-modifier extensions.
|
List<ExtensionDt> |
getUndeclaredExtensionsByUrl(String theUrl)
Returns an immutable list containing all undeclared extensions (modifier and non-modifier) by extension URL
|
List<ExtensionDt> |
getUndeclaredModifierExtensions()
Returns a list containing all undeclared modifier extensions.
|
boolean |
hasFormatComment()
Returns
true if any comments would be returned by IBase.getFormatCommentsPre()
or IBase.getFormatCommentsPost() |
protected boolean |
isBaseEmpty()
Intended to be called by extending classes
IBase.isEmpty() implementations, returns true if all
content in this superclass instance is empty per the semantics of IBase.isEmpty(). |
public BaseElement()
public ExtensionDt addUndeclaredExtension(boolean theIsModifier, String theUrl)
ISupportsUndeclaredExtensionsaddUndeclaredExtension in interface ISupportsUndeclaredExtensionsTo return a mutable list which may be used to remove extensionspublic ExtensionDt addUndeclaredExtension(boolean theIsModifier, String theUrl, IBaseDatatype theValue)
ISupportsUndeclaredExtensionsaddUndeclaredExtension in interface ISupportsUndeclaredExtensionsTo return a mutable list which may be used to remove extensionspublic void addUndeclaredExtension(ExtensionDt theExtension)
ISupportsUndeclaredExtensionsIs ModifierURLaddUndeclaredExtension in interface ISupportsUndeclaredExtensionstheExtension - The extension to add. Can not be null.public List<ExtensionDt> getAllUndeclaredExtensions()
ISupportsUndeclaredExtensionspublic List<String> getFormatCommentsPost()
IBasenullgetFormatCommentsPost in interface IBasepublic List<String> getFormatCommentsPre()
IBasenullgetFormatCommentsPre in interface IBasepublic List<ExtensionDt> getUndeclaredExtensions()
ISupportsUndeclaredExtensionsgetUndeclaredExtensions in interface ISupportsUndeclaredExtensionspublic List<ExtensionDt> getUndeclaredExtensionsByUrl(String theUrl)
ISupportsUndeclaredExtensionsgetUndeclaredExtensionsByUrl in interface ISupportsUndeclaredExtensionsTo return a mutable list which may be used to remove extensionspublic List<ExtensionDt> getUndeclaredModifierExtensions()
ISupportsUndeclaredExtensionsgetUndeclaredModifierExtensions in interface ISupportsUndeclaredExtensionspublic boolean hasFormatComment()
IBasetrue if any comments would be returned by IBase.getFormatCommentsPre()
or IBase.getFormatCommentsPost()hasFormatComment in interface IBaseprotected boolean isBaseEmpty()
IBase.isEmpty() implementations, returns true if all
content in this superclass instance is empty per the semantics of IBase.isEmpty().Copyright © 2014–2019 University Health Network. All rights reserved.