|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pixelmed.dicom.ContentItem
com.pixelmed.dicom.ContentItemWithValue
com.pixelmed.dicom.ContentItemFactory.NumericContentItem
public class ContentItemFactory.NumericContentItem
| Field Summary | |
|---|---|
protected Double |
floatingPointValue
|
protected String |
numericValue
|
protected CodedSequenceItem |
qualifier
|
protected Long |
rationalDenominatorValue
|
protected Integer |
rationalNumeratorValue
|
protected CodedSequenceItem |
units
|
| Fields inherited from class com.pixelmed.dicom.ContentItemWithValue |
|---|
conceptName, referencedContentItemIdentifier, valueType |
| Fields inherited from class com.pixelmed.dicom.ContentItem |
|---|
relationshipType |
| Method Summary | |
|---|---|
protected void |
constructOnlyQualifier(CodedSequenceItem qualifier)
|
protected void |
doCommonConstructorStuff(String numericValue,
CodedSequenceItem units,
CodedSequenceItem qualifier,
Double floatingPointValue,
Integer rationalNumeratorValue,
Long rationalDenominatorValue)
|
String |
getConceptNameAndValue()
Get a string representation of the concept name and the value of the concept. |
String |
getConceptValue()
Get a string representation of the value of the concept. |
double |
getFloatingPointValue()
|
String |
getNumericValue()
|
CodedSequenceItem |
getQualifier()
|
long |
getRationalDenominatorValue()
|
int |
getRationalNumeratorValue()
|
CodedSequenceItem |
getUnits()
|
boolean |
hasFloatingPointValue()
|
boolean |
hasRationalValue()
|
String |
toString()
Get a human-readable string representation of the content item. |
| Methods inherited from class com.pixelmed.dicom.ContentItemWithValue |
|---|
contentItemNameMatchesCodeValueAndCodingSchemeDesignator, getConceptName, getConceptNameCodeMeaning, getConceptNameCodeValue, getConceptNameCodingSchemeDesignator, getValueType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String numericValue
protected Double floatingPointValue
protected Integer rationalNumeratorValue
protected Long rationalDenominatorValue
protected CodedSequenceItem units
protected CodedSequenceItem qualifier
| Constructor Detail |
|---|
public ContentItemFactory.NumericContentItem(ContentItem parent,
AttributeList list)
throws DicomException
parent - list -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
double floatingPointValue,
CodedSequenceItem units)
throws DicomException
parent - relationshipType - conceptName - floatingPointValue - will be converted to stringunits -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
int numerator,
long denominator,
CodedSequenceItem units)
throws DicomException
parent - relationshipType - conceptName - numerator - denominator - units -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
String numericValue,
CodedSequenceItem units)
throws DicomException
parent - relationshipType - conceptName - numericValue - units -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
String numericValue,
CodedSequenceItem units,
CodedSequenceItem qualifier)
throws DicomException
parent - relationshipType - conceptName - numericValue - units - qualifier -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
String numericValue,
Double floatingPointValue,
Integer rationalNumeratorValue,
Long rationalDenominatorValue,
CodedSequenceItem units,
CodedSequenceItem qualifier)
throws DicomException
parent - relationshipType - conceptName - numericValue - floatingPointValue - rationalNumeratorValue - rationalDenominatorValue - units - qualifier -
DicomException
public ContentItemFactory.NumericContentItem(ContentItem parent,
String relationshipType,
CodedSequenceItem conceptName,
CodedSequenceItem qualifier)
throws DicomException
Construct numeric content item with empty MeasuredValueSequence with qualifier explaining why it is empty.
parent - relationshipType - conceptName - qualifier -
DicomException| Method Detail |
|---|
protected void doCommonConstructorStuff(String numericValue,
CodedSequenceItem units,
CodedSequenceItem qualifier,
Double floatingPointValue,
Integer rationalNumeratorValue,
Long rationalDenominatorValue)
throws DicomException
DicomExceptionprotected void constructOnlyQualifier(CodedSequenceItem qualifier)
public CodedSequenceItem getQualifier()
public CodedSequenceItem getUnits()
public String getNumericValue()
public boolean hasFloatingPointValue()
public double getFloatingPointValue()
public boolean hasRationalValue()
public int getRationalNumeratorValue()
public long getRationalDenominatorValue()
public String getConceptValue()
ContentItemWithValueGet a string representation of the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
getConceptValue in class ContentItemWithValuepublic String getConceptNameAndValue()
ContentItemWithValueGet a string representation of the concept name and the value of the concept.
The exact form of the returned string is specific to the type of ContentItem.
getConceptNameAndValue in class ContentItemWithValuepublic String toString()
ContentItemWithValueGet a human-readable string representation of the content item.
toString in class ContentItemWithValue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||