Class AbstractMetricDescriptor
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractDescriptor
-
- org.somda.sdc.biceps.model.participant.AbstractMetricDescriptor
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
DistributionSampleArrayMetricDescriptor,NumericMetricDescriptor,RealTimeSampleArrayMetricDescriptor,StringMetricDescriptor
public class AbstractMetricDescriptor extends AbstractDescriptor implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
An abstract descriptor for a METRIC.Java class for AbstractMetricDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractMetricDescriptor"> <complexContent> <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractDescriptor"> <sequence> <element name="Unit" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue"/> <element name="BodySite" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" maxOccurs="unbounded" minOccurs="0"/> <element name="Relation" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="Code" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" minOccurs="0"/> <element name="Identification" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}InstanceIdentifier" minOccurs="0"/> </sequence> <attribute name="Kind" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Rcm"/> <enumeration value="PS"/> <enumeration value="SST"/> <enumeration value="ECE"/> <enumeration value="DCE"/> <enumeration value="Oth"/> </restriction> </simpleType> </attribute> <attribute name="Entries" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}EntryRef" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="MetricCategory" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}MetricCategory" /> <attribute name="DerivationMethod" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}DerivationMethod" /> <attribute name="MetricAvailability" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}MetricAvailability" /> <attribute name="MaxMeasurementTime" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="MaxDelayTime" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="DeterminationPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="LifeTimePeriod" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="ActivationDuration" type="{http://www.w3.org/2001/XMLSchema}duration" /> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractMetricDescriptor.RelationJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected DurationactivationDurationprotected List<CodedValue>bodySiteprotected DerivationMethodderivationMethodprotected DurationdeterminationPeriodprotected DurationlifeTimePeriodprotected DurationmaxDelayTimeprotected DurationmaxMeasurementTimeprotected MetricAvailabilitymetricAvailabilityprotected MetricCategorymetricCategoryprotected List<AbstractMetricDescriptor.Relation>relationprotected CodedValueunit-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
descriptorVersion, extension, handle, safetyClassification, type
-
-
Constructor Summary
Constructors Constructor Description AbstractMetricDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)DurationgetActivationDuration()Gets the value of the activationDuration property.List<CodedValue>getBodySite()Gets the value of the bodySite property.DerivationMethodgetDerivationMethod()Gets the value of the derivationMethod property.DurationgetDeterminationPeriod()Gets the value of the determinationPeriod property.DurationgetLifeTimePeriod()Gets the value of the lifeTimePeriod property.DurationgetMaxDelayTime()Gets the value of the maxDelayTime property.DurationgetMaxMeasurementTime()Gets the value of the maxMeasurementTime property.MetricAvailabilitygetMetricAvailability()Gets the value of the metricAvailability property.MetricCategorygetMetricCategory()Gets the value of the metricCategory property.List<AbstractMetricDescriptor.Relation>getRelation()Gets the value of the relation property.CodedValuegetUnit()Gets the value of the unit property.inthashCode()voidsetActivationDuration(Duration value)Sets the value of the activationDuration property.voidsetBodySite(List<CodedValue> value)voidsetDerivationMethod(DerivationMethod value)Sets the value of the derivationMethod property.voidsetDeterminationPeriod(Duration value)Sets the value of the determinationPeriod property.voidsetLifeTimePeriod(Duration value)Sets the value of the lifeTimePeriod property.voidsetMaxDelayTime(Duration value)Sets the value of the maxDelayTime property.voidsetMaxMeasurementTime(Duration value)Sets the value of the maxMeasurementTime property.voidsetMetricAvailability(MetricAvailability value)Sets the value of the metricAvailability property.voidsetMetricCategory(MetricCategory value)Sets the value of the metricCategory property.voidsetRelation(List<AbstractMetricDescriptor.Relation> value)voidsetUnit(CodedValue value)Sets the value of the unit property.StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractDescriptor
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setType
-
-
-
-
Field Detail
-
unit
protected CodedValue unit
-
bodySite
protected List<CodedValue> bodySite
-
relation
protected List<AbstractMetricDescriptor.Relation> relation
-
metricCategory
protected MetricCategory metricCategory
-
derivationMethod
protected DerivationMethod derivationMethod
-
metricAvailability
protected MetricAvailability metricAvailability
-
maxMeasurementTime
protected Duration maxMeasurementTime
-
maxDelayTime
protected Duration maxDelayTime
-
determinationPeriod
protected Duration determinationPeriod
-
lifeTimePeriod
protected Duration lifeTimePeriod
-
activationDuration
protected Duration activationDuration
-
-
Method Detail
-
getUnit
public CodedValue getUnit()
Gets the value of the unit property.- Returns:
- possible object is
CodedValue
-
setUnit
public void setUnit(CodedValue value)
Sets the value of the unit property.- Parameters:
value- allowed object isCodedValue
-
getBodySite
public List<CodedValue> getBodySite()
Gets the value of the bodySite property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the bodySite property.For example, to add a new item, do as follows:
getBodySite().add(newItem);Objects of the following type(s) are allowed in the list
CodedValue
-
getRelation
public List<AbstractMetricDescriptor.Relation> getRelation()
Gets the value of the relation property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the relation property.For example, to add a new item, do as follows:
getRelation().add(newItem);Objects of the following type(s) are allowed in the list
AbstractMetricDescriptor.Relation
-
getMetricCategory
public MetricCategory getMetricCategory()
Gets the value of the metricCategory property.- Returns:
- possible object is
MetricCategory
-
setMetricCategory
public void setMetricCategory(MetricCategory value)
Sets the value of the metricCategory property.- Parameters:
value- allowed object isMetricCategory
-
getDerivationMethod
public DerivationMethod getDerivationMethod()
Gets the value of the derivationMethod property.- Returns:
- possible object is
DerivationMethod
-
setDerivationMethod
public void setDerivationMethod(DerivationMethod value)
Sets the value of the derivationMethod property.- Parameters:
value- allowed object isDerivationMethod
-
getMetricAvailability
public MetricAvailability getMetricAvailability()
Gets the value of the metricAvailability property.- Returns:
- possible object is
MetricAvailability
-
setMetricAvailability
public void setMetricAvailability(MetricAvailability value)
Sets the value of the metricAvailability property.- Parameters:
value- allowed object isMetricAvailability
-
getMaxMeasurementTime
public Duration getMaxMeasurementTime()
Gets the value of the maxMeasurementTime property.- Returns:
- possible object is
String
-
setMaxMeasurementTime
public void setMaxMeasurementTime(Duration value)
Sets the value of the maxMeasurementTime property.- Parameters:
value- allowed object isString
-
getMaxDelayTime
public Duration getMaxDelayTime()
Gets the value of the maxDelayTime property.- Returns:
- possible object is
String
-
setMaxDelayTime
public void setMaxDelayTime(Duration value)
Sets the value of the maxDelayTime property.- Parameters:
value- allowed object isString
-
getDeterminationPeriod
public Duration getDeterminationPeriod()
Gets the value of the determinationPeriod property.- Returns:
- possible object is
String
-
setDeterminationPeriod
public void setDeterminationPeriod(Duration value)
Sets the value of the determinationPeriod property.- Parameters:
value- allowed object isString
-
getLifeTimePeriod
public Duration getLifeTimePeriod()
Gets the value of the lifeTimePeriod property.- Returns:
- possible object is
String
-
setLifeTimePeriod
public void setLifeTimePeriod(Duration value)
Sets the value of the lifeTimePeriod property.- Parameters:
value- allowed object isString
-
getActivationDuration
public Duration getActivationDuration()
Gets the value of the activationDuration property.- Returns:
- possible object is
String
-
setActivationDuration
public void setActivationDuration(Duration value)
Sets the value of the activationDuration property.- Parameters:
value- allowed object isString
-
setBodySite
public void setBodySite(List<CodedValue> value)
-
setRelation
public void setRelation(List<AbstractMetricDescriptor.Relation> value)
-
clone
public Object clone()
- Overrides:
clonein classAbstractDescriptor
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractDescriptor
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractDescriptor
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractDescriptor
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDescriptor
-
toString
public String toString()
- Overrides:
toStringin classAbstractDescriptor
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classAbstractDescriptor
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classAbstractDescriptor
-
-