public class EbXMLClassification30 extends Object implements EbXMLClassification
ClassificationType
.Constructor and Description |
---|
EbXMLClassification30(ClassificationType classification)
Constructs a classification by wrapping the given ebXML 3.0 object.
|
Modifier and Type | Method and Description |
---|---|
void |
addSlot(String slotName,
String... slotValues)
Adds a slot with a list of values.
|
void |
assignUniqueId()
Assigns a random unique ID to this classification.
|
String |
getClassificationNode() |
String |
getClassificationScheme() |
String |
getClassifiedObject() |
LocalizedString |
getName() |
EbXMLInternationalString30 |
getNameAsInternationalString() |
String |
getNodeRepresentation() |
String |
getSingleSlotValue(String slotName)
Gets a single slot value.
|
List<EbXMLSlot> |
getSlots() |
List<EbXMLSlot> |
getSlots(String slotName)
Returns a filtered list of the slots.
|
List<String> |
getSlotValues(String slotName)
Gets the values of a slot.
|
void |
setClassificationNode(String classificationNode) |
void |
setClassificationScheme(String classificationScheme) |
void |
setClassifiedObject(String classifiedObject) |
void |
setName(LocalizedString name) |
void |
setNodeRepresentation(String nodeRepresentation) |
public EbXMLClassification30(ClassificationType classification)
classification
- the object to wrap.public String getClassificationScheme()
getClassificationScheme
in interface EbXMLClassification
public String getClassifiedObject()
getClassifiedObject
in interface EbXMLClassification
public void setClassificationScheme(String classificationScheme)
setClassificationScheme
in interface EbXMLClassification
classificationScheme
- the classification scheme.public void setClassifiedObject(String classifiedObject)
setClassifiedObject
in interface EbXMLClassification
classifiedObject
- the object being classified by this classification.public String getNodeRepresentation()
getNodeRepresentation
in interface EbXMLClassification
public void setNodeRepresentation(String nodeRepresentation)
setNodeRepresentation
in interface EbXMLClassification
nodeRepresentation
- the node representation.public LocalizedString getName()
getName
in interface EbXMLClassification
public EbXMLInternationalString30 getNameAsInternationalString()
getNameAsInternationalString
in interface EbXMLClassification
public void setName(LocalizedString name)
setName
in interface EbXMLClassification
name
- the name as a localized string.public void setClassificationNode(String classificationNode)
setClassificationNode
in interface EbXMLClassification
classificationNode
- the classification node.public String getClassificationNode()
getClassificationNode
in interface EbXMLClassification
public void assignUniqueId()
EbXMLClassification
assignUniqueId
in interface EbXMLClassification
@Generated(value="lombok") public void addSlot(String slotName, String... slotValues)
EbXMLSlotList
addSlot
in interface EbXMLSlotList
slotName
- the slot name.slotValues
- the slot values. The slot will not be created if this parameter is
empty or null
.@Generated(value="lombok") public List<String> getSlotValues(String slotName)
EbXMLSlotList
getSlotValues
in interface EbXMLSlotList
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use EbXMLSlotList.getSlots(String)
if it is possible that
the name is used multiple times.@Generated(value="lombok") public String getSingleSlotValue(String slotName)
EbXMLSlotList
getSingleSlotValue
in interface EbXMLSlotList
slotName
- the name of the slot. It is expected that the name is only used for
a single slot. Use EbXMLSlotList.getSlots(String)
if it is possible that
the name is used multiple times.null
if the slot does not exist, has no slot values
or the value is null
.@Generated(value="lombok") public List<EbXMLSlot> getSlots()
getSlots
in interface EbXMLSlotList
@Generated(value="lombok") public List<EbXMLSlot> getSlots(String slotName)
EbXMLSlotList
getSlots
in interface EbXMLSlotList
slotName
- name of the slots.Copyright © 2018 Open eHealth Foundation. All rights reserved.