org.hl7.meta
Interface Attribute

All Superinterfaces:
java.lang.Cloneable, Feature, Metadata
All Known Implementing Classes:
AttributeAdapter

public interface Attribute
extends Feature

A read only interface to the class AttributeImpl, which represents an HL7 v3 clone class attribute.

Author:
Skirmantas Kligys (skirmis@hotmail.com)

Method Summary
 CodingStrength getCodingStrength()
          Returns the coding strength for this attribute.
 Datatype getDatatype()
          Returns the datatype of this attribute.
 java.lang.String getDefaultValue()
          Returns the default value for this attribute.
 java.lang.String[] getDomains()
          Returns the vocabulary domains for this attribute.
 java.lang.String[] getFixedValues()
          Returns the fixed values for this attribute.
 boolean isStructural()
          Returns true if this attribute is defined as structural in XML ITS (that means in XML instance it is represented by an XML attribute instead of an XML element.
 
Methods inherited from interface org.hl7.meta.Feature
getCardinality, getConformance, getConstraint, getName, getParent, getRimClass, getRimPropertyName, getSortKey, isMandatory
 

Method Detail

getDatatype

Datatype getDatatype()
Returns the datatype of this attribute.

Returns:
the Datatype

getDomains

java.lang.String[] getDomains()
Returns the vocabulary domains for this attribute.

Returns:
the vocabulary domains

getFixedValues

java.lang.String[] getFixedValues()
Returns the fixed values for this attribute.

Returns:
the fixed values

getDefaultValue

java.lang.String getDefaultValue()
Returns the default value for this attribute.

Returns:
the default values

getCodingStrength

CodingStrength getCodingStrength()
Returns the coding strength for this attribute.

Returns:
the coding strength

isStructural

boolean isStructural()
Returns true if this attribute is defined as structural in XML ITS (that means in XML instance it is represented by an XML attribute instead of an XML element.

Returns:
the structural attribute flag