Class AbstractPriorValue
- java.lang.Object
-
- org.dcm4che.typeddicom.AbstractAttributesWrapper
-
- org.dcm4che.typeddicom.AbstractDataElementWrapper
-
- org.dcm4che.typeddicom.dataelements.AbstractPriorValue
-
- All Implemented Interfaces:
org.dcm4che.typeddicom.AttributesWrapper,org.dcm4che.typeddicom.DataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper,org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper,SignedShortMultiWrapper
public class AbstractPriorValue extends org.dcm4che.typeddicom.AbstractDataElementWrapper implements SignedShortMultiWrapper
Name: Abstract Prior Value
Keyword: AbstractPriorValue
Tag: (0072,003C)
Value Representation: SignedShort
Value Multiplicity: 2
- Described in the contexts:
- Hanging Protocol Definition Module > Image Sets Sequence > Time Based Image Sets Sequence > Abstract Prior Value
Attribute Name: Abstract Prior Value
Type: 1C
Attribute Description:Identifies a prior image set in abstract terms.
Exactly two integer values, indicating the range of prior Studies to include. Each value shall be greater than zero, where 1 indicates the most recent prior and higher values indicate successively older priors. The special value -1 shall indicate the oldest prior.
Note-
The value pair n indicates the nth prior.
-
The value pair -1\-1 indicates the oldest prior.
-
The value pair m indicates the mth through nth priors, where m is the more recent prior.
-
The value pair 1\-1 indicates all priors.
-
The value pair m\-1 indicates the mth prior and all priors older than m.
Required if Image Set Selector Category (0072,0034) is ABSTRACT_PRIOR and Abstract Prior Code Sequence (0072,003E) is not present.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAbstractPriorValue.Builder<SELF extends AbstractPriorValue.Builder<SELF,T>,T extends AbstractPriorValue.Holder>static interfaceAbstractPriorValue.HolderA class implementing this interface can hold attributes which contain the DICOM tag "Abstract Prior Value" (seeAbstractPriorValue)-
Nested classes/interfaces inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
SignedShortMultiWrapper.Setter<B extends org.dcm4che.typeddicom.Builder<B,? extends org.dcm4che.typeddicom.AttributesWrapper>,D extends SignedShortMultiWrapper>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPRIVATE_CREATORThe Private Creator associated with this class.static intTAGThe DICOM Tag associated with this class.-
Fields inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
VALUE_REPRESENTATION
-
-
Constructor Summary
Constructors Constructor Description AbstractPriorValue()Creates a new Abstract Prior Value object which wraps a new and emptyAttributesobject.AbstractPriorValue(org.dcm4che3.data.Attributes attributes)Creates a new Abstract Prior Value object which wraps the providedattributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractPriorValuecopy()Returns a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value.java.lang.StringgetPrivateCreator()intgetTag()-
Methods inherited from class org.dcm4che.typeddicom.AbstractDataElementWrapper
equals, exists, getValue, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.BytesDataElementWrapper
getBytes, getSafeBytes, setBytes
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.IntDataElementMultiWrapper
getInt, getInts, setInts
-
Methods inherited from interface org.dcm4che.typeddicom.valuerepresentations.SignedShortMultiWrapper
getValueRepresentation
-
-
-
-
Field Detail
-
PRIVATE_CREATOR
public static final java.lang.String PRIVATE_CREATOR
The Private Creator associated with this class.
-
TAG
public static final int TAG
The DICOM Tag associated with this class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractPriorValue
public AbstractPriorValue(org.dcm4che3.data.Attributes attributes)
Creates a new Abstract Prior Value object which wraps the providedattributes.- Parameters:
attributes- theAttributesobject to be wrapped.
-
AbstractPriorValue
public AbstractPriorValue()
Creates a new Abstract Prior Value object which wraps a new and emptyAttributesobject.
-
-
Method Detail
-
copy
public AbstractPriorValue copy()
Returns a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value. (seeAttributes(Attributes)- Returns:
- a new Abstract Prior Value which wraps a copy of the Attributes wrapped in this Abstract Prior Value.
-
getPrivateCreator
public java.lang.String getPrivateCreator()
- Specified by:
getPrivateCreatorin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
getTag
public int getTag()
- Specified by:
getTagin interfaceorg.dcm4che.typeddicom.DataElementWrapper
-
-