org.dicom4j.data.elements
Class ApplicationEntity

java.lang.Object
  extended by org.dicom4j.data.elements.support.DataElement
      extended by org.dicom4j.data.elements.support.StringElement
          extended by org.dicom4j.data.elements.ApplicationEntity

public class ApplicationEntity
extends StringElement

Application Entity (AE) element

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
ApplicationEntity(DicomTag aDataElementTag)
          creates new element
ApplicationEntity(DicomTag aDataElementTag, String aAET)
           Creates an new DataElement
 
Method Summary
 ValueRepresentation getValueRepresentation()
          Return the ValueRepresentation of this element
 boolean isValid()
           check is the data of this element is Dicom compliant
 
Methods inherited from class org.dicom4j.data.elements.support.StringElement
addValue, clear, getPaddedVL, getStringValues, getValueLength, getValueMultiplicity, read, setValue, toString, write
 
Methods inherited from class org.dicom4j.data.elements.support.DataElement
addValue, addValue, addValue, addValue, addValue, addValue, getByteValues, getDelimitedStringValues, getDelimitedStringValues, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrDefault, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrEmptyString, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDelimitedStringValuesOrNull, getDoubleValues, getDoubleValues, getFloatValues, getIntegerValues, getIntegerValues, getLongValues, getLongValues, getName, getOriginalStringValues, getShortValues, getSingleDoubleValueOrDefault, getSingleDoubleValueOrDefault, getSingleIntegerValue, getSingleIntegerValue, getSingleIntegerValue, getSingleIntegerValueOrDefault, getSingleLongValueOrDefault, getSingleLongValueOrDefault, getSingleStringValue, getSingleStringValue, getSingleStringValueOrDefault, getSingleStringValueOrDefault, getSingleStringValueOrDefault, getSingleStringValueOrEmptyString, getSingleStringValueOrEmptyString, getSingleStringValueOrEmptyString, getSingleStringValueOrNull, getSingleStringValueOrNull, getSingleStringValueOrNull, getSingleStringValueOrNull, getStringValues, getStringValues, getStringValues, getTag, isAvailableAsString, isGroupLength, read, removeValues, setValues, setValues, setValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationEntity

public ApplicationEntity(DicomTag aDataElementTag)
creates new element

Parameters:
aDataElementTag - the tag element's

ApplicationEntity

public ApplicationEntity(DicomTag aDataElementTag,
                         String aAET)
                  throws DicomViolationException

Creates an new DataElement

Parameters:
aDataElementTag - the tag of the element
aAET - the value for this element
Throws:
DicomViolationException - if the value doesn't respect the DICOM standard
Method Detail

getValueRepresentation

public ValueRepresentation getValueRepresentation()
Description copied from class: DataElement
Return the ValueRepresentation of this element

Specified by:
getValueRepresentation in class DataElement
Returns:
the ValueRepresentation

isValid

public boolean isValid()
Description copied from class: DataElement

check is the data of this element is Dicom compliant

Overrides:
isValid in class DataElement
Returns:
true is dicom compliant


Copyright © 2009 dicom4j. All Rights Reserved.