Interface ConstraintType.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
ConstraintType.SimpleHolder,ParametersSpecificationSequence.Item,PatientSpecificationSequence.Item,StructuredConstraintObservationSequence.Item
- Enclosing class:
- ConstraintType
public static interface ConstraintType.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Constraint Type" (seeConstraintType)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classConstraintType.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ConstraintType.Holder.Builderbuilder()static ConstraintType.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsConstraintType()default ConstraintTypegetConstraintType()default voidremoveConstraintType()Removes the Constraint Type (seeConstraintTypestatic ConstraintType.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static ConstraintType.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Constraint Type (seeConstraintType)- Returns:
- a wrapper object implementing the
ConstraintType.Holderinterface.
-
builder
static ConstraintType.Holder.Builder builder()
- Returns:
- a
ConstraintType.Holder.Builderto create Constraint Type Items with a fluent API.
-
builder
static ConstraintType.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theConstraintType.Holder.Builder.- Returns:
- a
ConstraintType.Holder.Builderto create Constraint Type Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getConstraintType
default ConstraintType getConstraintType()
- Returns:
- the Constraint Type (see
ConstraintType)
-
containsConstraintType
default boolean containsConstraintType()
- Returns:
- whether it contains the Constraint Type (see
ConstraintType)
-
removeConstraintType
default void removeConstraintType()
Removes the Constraint Type (seeConstraintType
-
-