public abstract class BaseElement extends Object implements IElement, 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<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.
|
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, IBaseDatatype theValue)
ISupportsUndeclaredExtensionsaddUndeclaredExtension in interface ISupportsUndeclaredExtensionsTo return a mutable list which may be used to remove extensionspublic ExtensionDt addUndeclaredExtension(boolean theIsModifier, String theUrl)
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()
ISupportsUndeclaredExtensionsgetAllUndeclaredExtensions in interface ISupportsUndeclaredExtensionsTo return a mutable list which may be used to remove extensionspublic 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 ISupportsUndeclaredExtensionsprotected boolean isBaseEmpty()
IBase.isEmpty() implementations, returns true if all content in this superclass instance is empty per the semantics of
IBase.isEmpty().Copyright © 2014–2016 University Health Network. All rights reserved.