|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyObject
The KeyObject
interface represents a
DICOM Key Object Selection Document.
The Key Object Selection Document is intended for
flagging one or more significant images, waveforms, or other
composite SOP Instances.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.dcm4che.srom.Content |
---|
Content.RelationType, Content.ValueType |
Field Summary |
---|
Fields inherited from interface org.dcm4che.srom.Content |
---|
log |
Method Summary | |
---|---|
boolean |
addCurrentEvidence(SOPInstanceRef ref)
Adds a new SOPInstanceRef object, refering a
Current Requested Procedure Evidence of this document. |
boolean |
addIdenticalDocument(SOPInstanceRef ref)
Adds a new SOPInstanceRef object, refering a
Identical Document of this document. |
boolean |
addRequest(Request request)
Adds a new Request object, identifing a
Requested Procedure which is being fulfilled by creation of
this document. |
TCoordContent.Begin |
createBeginTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.Begin with specified
properties. |
SCoordContent.Circle |
createCircleSCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
float[] graphicData)
Creates new SCoordContent.Circle with specified
properties. |
CodeContent |
createCodeContent(java.util.Date obsDateTime,
Template template,
Code name,
Code code)
Creates new CodeContent with specified properties. |
CompositeContent |
createCompositeContent(java.util.Date obsDateTime,
Template template,
Code name,
RefSOP refSOP)
Creates new CompositeContent with specified properties. |
ContainerContent |
createContainerContent(java.util.Date obsDateTime,
Template template,
Code name,
boolean separate)
Creates new ContainerContent with specified properties. |
DateContent |
createDateContent(java.util.Date obsDateTime,
Template template,
Code name,
java.util.Date date)
Creates new DateContent with specified properties. |
DateTimeContent |
createDateTimeContent(java.util.Date obsDateTime,
Template template,
Code name,
java.util.Date dateTime)
Creates new TimeContent with specified properties. |
SCoordContent.Ellipse |
createEllipseSCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
float[] graphicData)
Creates new SCoordContent.Ellipse with specified
properties. |
TCoordContent.End |
createEndTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.End with specified
properties. |
ImageContent |
createImageContent(java.util.Date obsDateTime,
Template template,
Code name,
RefSOP refSOP,
int[] frameNumbers,
RefSOP refPresentationSOP,
IconImage iconImage)
Creates new ImageContent with specified properties. |
SCoordContent.MultiPoint |
createMultiPointSCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
float[] graphicData)
Creates new SCoordContent.MultiPoint with specified
properties. |
TCoordContent.MultiPoint |
createMultiPointTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.MultiPoint with specified
properties. |
TCoordContent.MultiSegment |
createMultiSegmentTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.MultiSegment with specified
properties. |
NumContent |
createNumContent(java.util.Date obsDateTime,
Template template,
Code name,
float value,
Code unit)
Creates new NumContent with specified properties. |
NumContent |
createNumContent(java.util.Date obsDateTime,
Template template,
Code name,
java.lang.Float value,
Code unit,
Code qualifier)
Creates new NumContent with specified properties. |
PNameContent |
createPNameContent(java.util.Date obsDateTime,
Template template,
Code name,
java.lang.String pname)
Creates new PNameContent with specified properties. |
SCoordContent.Point |
createPointSCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
float[] graphicData)
Creates new SCoordContent.Point with specified properties. |
TCoordContent.Point |
createPointTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.Point with specified properties. |
SCoordContent.Polyline |
createPolylineSCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
float[] graphicData)
Creates new SCoordContent.Polyline with specified
properties. |
ReferencedContent |
createReferencedContent(Content refContent)
Creates new ReferencedContent which refers the specified
Content . |
ReferencedContent |
createReferencedContent(int[] refContentId)
Creates new ReferencedContent which refers the specified
Content . |
TCoordContent.Segment |
createSegmentTCoordContent(java.util.Date obsDateTime,
Template template,
Code name,
TCoordContent.Positions positions)
Creates new TCoordContent.Segment with specified
properties. |
TextContent |
createTextContent(java.util.Date obsDateTime,
Template template,
Code name,
java.lang.String text)
Creates new TextContent with specified properties. |
TimeContent |
createTimeContent(java.util.Date obsDateTime,
Template template,
Code name,
java.util.Date time)
Creates new TimeContent with specified properties. |
UIDRefContent |
createUIDRefContent(java.util.Date obsDateTime,
Template template,
Code name,
java.lang.String uid)
Creates new UIDRefContent with specified properties. |
WaveformContent |
createWaveformContent(java.util.Date obsDateTime,
Template template,
Code name,
RefSOP refSOP,
int[] channelNumbers)
Creates new WaveformContent with specified properties. |
SOPInstanceRef |
findCurrentEvidence(RefSOP refSOP)
Returns SOPInstanceRef objects, refering the specified
Current Requested Procedure Evidence. |
Content |
getContent(int[] id)
Returns Content with specified
Content Item Identifier. |
java.util.Date |
getContentDateTime()
Returns Content DateTime of this document. |
SOPInstanceRef[] |
getCurrentEvidence()
Returns array of SOPInstanceRef objects, refering all
Current Requested Procedure Evidences of this document. |
Equipment |
getEquipment()
Returns Equipment contained in this
document. |
SOPInstanceRef[] |
getIdenticalDocuments()
Returns array of SOPInstanceRef objects, refering all
Identical Documents of this document. |
java.util.Date |
getInstanceCreationDateTime()
Returns Instance Creation DateTime of this document. |
java.lang.String |
getInstanceCreatorUID()
Returns Instance Creator UID of this document. |
int |
getInstanceNumber()
Returns Instance Number of this document. |
Patient |
getPatient()
Returns Patient contained in this document. |
Request[] |
getRequests()
Returns array of Request objects, identifing
Requested Procedures which are being fulfilled by creation of
this document. |
Series |
getSeries()
Returns Series contained in this document. |
java.lang.String |
getSOPClassUID()
Returns SOP Class UID of this document. |
java.lang.String |
getSOPInstanceUID()
Returns SOP Instance UID of this document. |
java.lang.String |
getSpecificCharacterSet()
Returns Specific Character Set for data values of this document. |
Study |
getStudy()
Returns Study contained in this document. |
Content |
importContent(Content importedContent,
boolean deep)
Imports content from another document to this document. |
boolean |
removeCurrentEvidence(RefSOP ref)
Removes the specified SOPInstanceRef object, from the list
of Current Requested Procedure Evidences of this document. |
boolean |
removeIdenticalDocument(RefSOP ref)
Removes the specified SOPInstanceRef object, from the list
of Predecessor Document of this document. |
boolean |
removeRequest(Request request)
Removes the specified Request object, from the list
of Requested Procedures of this document. |
void |
setContentDateTime(java.util.Date dateTime)
Sets Content DateTime of this document. |
void |
setCurrentEvidence(SOPInstanceRef[] refs)
Sets array of SOPInstanceRef objects, refering all
Current Requested Procedure Evidences of this document. |
void |
setEquipment(Equipment newEquipment)
Replaces Equipment contained in this
document by newEquipment . |
void |
setIdenticalDocuments(SOPInstanceRef[] refs)
Sets array of SOPInstanceRef objects, refering all
Identical Documents of this document. |
void |
setInstanceCreationDateTime(java.util.Date dateTime)
Sets Instance Creation DateTime of this document. |
void |
setInstanceCreatorUID(java.lang.String uid)
Sets Instance Creator UID of this document. |
void |
setInstanceNumber(int no)
Sets Instance Number of this document. |
void |
setPatient(Patient newPatient)
Replaces Patient contained in this document
by newPatient . |
void |
setRequests(Request[] requests)
Sets array of Request objects, identifing
Requested Procedures which are being fulfilled by creation of
this document. |
void |
setSeries(Series newSeries)
Replaces Series contained in this document
by newSeries . |
void |
setSOPInstanceUID(java.lang.String newSOPInstanceUID)
Sets new SOP Instance UID of this document. |
void |
setSpecificCharacterSet(java.lang.String charset)
Sets Specific Character Set for data values of this document. |
void |
setStudy(Study newStudy)
Replaces Study contained in this document
by newStudy . |
Dataset |
toDataset()
|
Methods inherited from interface org.dcm4che.srom.ContainerContent |
---|
insertCompositeContent, insertImageContent, insertWaveformContent, isSeparate, setSeparate |
Methods inherited from interface org.dcm4che.srom.Content |
---|
appendChild, clone, getFirstChild, getFirstChildBy, getID, getLastChild, getName, getNextSibling, getNextSiblingBy, getObservationDateTime, getOwnerDocument, getParent, getPreviousSibling, getRelationType, getTemplate, getValueType, hasChildren, insertBefore, removeChild, replaceChild, setName, toDataset |
Method Detail |
---|
Patient getPatient()
Patient
contained in this document.
Patient
contained in this document.void setPatient(Patient newPatient)
Patient
contained in this document
by newPatient
.
newPatient
- new Patient
.SRDocumentFactory.newPatient(java.lang.String, java.lang.String, org.dcm4che.srom.Patient.Sex, java.util.Date)
Study getStudy()
Study
contained in this document.
Study
contained in this document.void setStudy(Study newStudy)
Study
contained in this document
by newStudy
.
newStudy
- new Study
.SRDocumentFactory.newStudy(java.lang.String, java.lang.String, java.util.Date, java.lang.String, java.lang.String, java.lang.String, org.dcm4che.srom.Code[])
Series getSeries()
Series
contained in this document.
According DICOM, you shall set a new Series
and SOP Instance UID
of the
document, when changing the Study
.
Series
contained in this document.void setSeries(Series newSeries)
Series
contained in this document
by newSeries
.
According DICOM, you shall set a new SOP Instance UID
of the document, when changing the
Series
.
newSeries
- new Series
.
java.lang.IllegalArgumentException
- if Modality
is not
"SR"
.SRDocumentFactory.newSeries(java.lang.String, java.lang.String, int, org.dcm4che.srom.RefSOP)
Equipment getEquipment()
Equipment
contained in this
document. The Equipment
is backed by this
document, so changes to this Equipment
are
reflected in the document.
Equipment
contained in this document.void setEquipment(Equipment newEquipment)
Equipment
contained in this
document by newEquipment
.
Clones newEquipment
, so following changes to
newEquipment
are NOT reflected in the
document.
newEquipment
- new Equipment
.SRDocumentFactory.newEquipment(java.lang.String, java.lang.String, java.lang.String)
java.lang.String getSOPClassUID()
java.lang.String getSOPInstanceUID()
void setSOPInstanceUID(java.lang.String newSOPInstanceUID)
newSOPInstanceUID
- new SOP Instance UID.java.lang.String getSpecificCharacterSet()
void setSpecificCharacterSet(java.lang.String charset)
charset
- Specific Character Set code string.java.util.Date getInstanceCreationDateTime()
void setInstanceCreationDateTime(java.util.Date dateTime)
dateTime
- new Instance Creation DateTime.java.lang.String getInstanceCreatorUID()
void setInstanceCreatorUID(java.lang.String uid)
uid
- new Instance Creator UID.int getInstanceNumber()
void setInstanceNumber(int no)
no
- new Instance Number.java.util.Date getContentDateTime()
void setContentDateTime(java.util.Date dateTime)
dateTime
- new Content DateTime.Request[] getRequests()
Request
objects, identifing
Requested Procedures which are being fulfilled by creation of
this document.
java.lang.NullPointerException
- if ref
is null
.void setRequests(Request[] requests)
Request
objects, identifing
Requested Procedures which are being fulfilled by creation of
this document.
requests
- new array of Request
objects.boolean addRequest(Request request)
Request
object, identifing a
Requested Procedure which is being fulfilled by creation of
this document. Ignores the new Request
object, if the
document already refers an equal Requested Procedure.
request
- identify one Requested Procedure.
true
if request
was added,
false
if the document already contained the reference.SRDocumentFactory.newRequest(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.dcm4che.srom.Code)
boolean removeRequest(Request request)
Request
object, from the list
of Requested Procedures of this document.
true
if the Requested Procedures list of this
document contained request
; false
otherwise.
java.lang.NullPointerException
- if request
is
null
.SRDocumentFactory.newRequest(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.dcm4che.srom.Code)
SOPInstanceRef[] getCurrentEvidence()
SOPInstanceRef
objects, refering all
Current Requested Procedure Evidences of this document.
java.lang.NullPointerException
- if code
is null
.SOPInstanceRef findCurrentEvidence(RefSOP refSOP)
SOPInstanceRef
objects, refering the specified
Current Requested Procedure Evidence.
null
if no reference to refSOP
was found.
java.lang.NullPointerException
- if ref
is null
.void setCurrentEvidence(SOPInstanceRef[] refs)
SOPInstanceRef
objects, refering all
Current Requested Procedure Evidences of this document.
refs
- new Current Requested Procedure Evidence references.SRDocumentFactory.newSOPInstanceRef(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
boolean addCurrentEvidence(SOPInstanceRef ref)
SOPInstanceRef
object, refering a
Current Requested Procedure Evidence of this document.
Ignores the new SOPInstanceRef
object, if the
document already refers an equal
Current Requested Procedure Evidence.
ref
- reference to Current Requested Procedure Evidence.
true
if ref
was added,
false
if the document already contained the reference.SRDocumentFactory.newSOPInstanceRef(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
boolean removeCurrentEvidence(RefSOP ref)
SOPInstanceRef
object, from the list
of Current Requested Procedure Evidences of this document.
true
if the document contained the reference,
false
otherwise.
java.lang.NullPointerException
- if ref
is null
.SOPInstanceRef[] getIdenticalDocuments()
SOPInstanceRef
objects, refering all
Identical Documents of this document.
java.lang.NullPointerException
- if ref
is null
.void setIdenticalDocuments(SOPInstanceRef[] refs)
SOPInstanceRef
objects, refering all
Identical Documents of this document.
refs
- new Identical Documents references.boolean addIdenticalDocument(SOPInstanceRef ref)
SOPInstanceRef
object, refering a
Identical Document of this document. Ignores the new
SOPInstanceRef
object, if the document already
refers an equal Identical Document.
ref
- reference to Identical Document.
true
if ref
was added,
false
if the document already contained the reference.SRDocumentFactory.newSOPInstanceRef(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
boolean removeIdenticalDocument(RefSOP ref)
SOPInstanceRef
object, from the list
of Predecessor Document of this document.
true
if the document contained the reference,
false
otherwise.
java.lang.NullPointerException
- if ref
is null
.SRDocumentFactory.newSOPInstanceRef(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
Content getContent(int[] id)
Content
with specified
Content Item Identifier. Returns null
, if this
document does not contain a Content Item with the specified
Content Item Identifier.
id
- Content Item Identifier.
Content
with specified
Content Item Identifier,
null
if there is no such Content
.
java.lang.NullPointerException
- if id
is null
.
java.lang.IllegalArgumentException
- if id
is not a valid
Content Item Identifier.ContainerContent createContainerContent(java.util.Date obsDateTime, Template template, Code name, boolean separate)
ContainerContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Section Heading or null
.separate
- specifies Continuity of Content.
ContainerContent
object.TextContent createTextContent(java.util.Date obsDateTime, Template template, Code name, java.lang.String text)
TextContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.text
- Text Value string.
TextContent
object.
java.lang.NullPointerException
- if name
or text
are null
.
java.lang.IllegalArgumentException
- if text
is an empty
string.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
PNameContent createPNameContent(java.util.Date obsDateTime, Template template, Code name, java.lang.String pname)
PNameContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.pname
- Person Name string.
PNameContent
object.
java.lang.NullPointerException
- if name
or pname
are null
.
java.lang.IllegalArgumentException
- if pname
is an empty
string.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
UIDRefContent createUIDRefContent(java.util.Date obsDateTime, Template template, Code name, java.lang.String uid)
UIDRefContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.uid
- UID string.
UIDRefContent
object.
java.lang.NullPointerException
- if name
or uid
are null
.
java.lang.IllegalArgumentException
- if uid
is an empty
string.CodeContent createCodeContent(java.util.Date obsDateTime, Template template, Code name, Code code)
CodeContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.code
- Concept Code.
CodeContent
object.
java.lang.NullPointerException
- if name
or code
are null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
NumContent createNumContent(java.util.Date obsDateTime, Template template, Code name, float value, Code unit)
NumContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.value
- Numeric Value float.unit
- Measurement Unit Code.
NumContent
object.
java.lang.NullPointerException
- if name
or unit
are null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
NumContent createNumContent(java.util.Date obsDateTime, Template template, Code name, java.lang.Float value, Code unit, Code qualifier)
NumContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.value
- Numeric Value Float.unit
- Measurement Unit Code.qualifier
- Numeric Value Qualifier Code.
NumContent
object.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
DateContent createDateContent(java.util.Date obsDateTime, Template template, Code name, java.util.Date date)
DateContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.date
- Date value.
DateContent
object.
java.lang.NullPointerException
- if name
or date
are null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
TimeContent createTimeContent(java.util.Date obsDateTime, Template template, Code name, java.util.Date time)
TimeContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.time
- Time value.
TimeContent
object.
java.lang.NullPointerException
- if name
or time
are null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
DateTimeContent createDateTimeContent(java.util.Date obsDateTime, Template template, Code name, java.util.Date dateTime)
TimeContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code.dateTime
- DateTime value.
TimeContent
object.
java.lang.NullPointerException
- if name
or
dateTime
are null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
CompositeContent createCompositeContent(java.util.Date obsDateTime, Template template, Code name, RefSOP refSOP)
CompositeContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.refSOP
- Composite Object Reference.
CompositeContent
object.
java.lang.NullPointerException
- if refSOP
is null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newRefSOP(java.lang.String, java.lang.String)
ImageContent createImageContent(java.util.Date obsDateTime, Template template, Code name, RefSOP refSOP, int[] frameNumbers, RefSOP refPresentationSOP, IconImage iconImage)
ImageContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.refSOP
- Composite Object Reference.frameNumbers
- Referenced Frame Number(s) or
null
.refPresentationSOP
- Softcopy Presentation State Reference
or null
.iconImage
- Icon Image or null
.
ImageContent
object.
java.lang.NullPointerException
- if refSOP
is null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newRefSOP(java.lang.String, java.lang.String)
,
SRDocumentFactory.newIconImage(int, int, byte[])
WaveformContent createWaveformContent(java.util.Date obsDateTime, Template template, Code name, RefSOP refSOP, int[] channelNumbers)
WaveformContent
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.refSOP
- Composite Object Reference.channelNumbers
- Referenced Channel Number(s) or
null
.
WaveformContent
object.
java.lang.NullPointerException
- if refSOP
is null
.
java.lang.IllegalArgumentException
- if channelNumbers
contains
an odd number of ints.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newRefSOP(java.lang.String, java.lang.String)
SCoordContent.Point createPointSCoordContent(java.util.Date obsDateTime, Template template, Code name, float[] graphicData)
SCoordContent.Point
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.graphicData
- float[2]
with (column,row) value.
SCoordContent.Point
object.
java.lang.NullPointerException
- if graphicData
is
null
.
java.lang.IllegalArgumentException
- if graphicData
contains
more or less than 2 floats.SCoordContent.MultiPoint createMultiPointSCoordContent(java.util.Date obsDateTime, Template template, Code name, float[] graphicData)
SCoordContent.MultiPoint
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.graphicData
- float[2N]
with N (column,row) values.
SCoordContent.MultiPoint
object.
java.lang.NullPointerException
- if graphicData
is
null
.
java.lang.IllegalArgumentException
- if graphicData
contains
an odd number of floats.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
SCoordContent.Polyline createPolylineSCoordContent(java.util.Date obsDateTime, Template template, Code name, float[] graphicData)
SCoordContent.Polyline
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.graphicData
- float[2N]
with N (column,row) values.
SCoordContent.Polyline
object.
java.lang.NullPointerException
- if graphicData
is
null
.
java.lang.IllegalArgumentException
- if graphicData
contains
an odd number of floats.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
SCoordContent.Circle createCircleSCoordContent(java.util.Date obsDateTime, Template template, Code name, float[] graphicData)
SCoordContent.Circle
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.graphicData
- float[4]
with (column,row) of central
pixel, followed by (column,row) of pixel on the perimeter of the circle.
SCoordContent.Circle
object.
java.lang.NullPointerException
- if graphicData
is
null
.
java.lang.IllegalArgumentException
- if graphicData
contains
more or less than 4 floats.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
SCoordContent.Ellipse createEllipseSCoordContent(java.util.Date obsDateTime, Template template, Code name, float[] graphicData)
SCoordContent.Ellipse
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.graphicData
- float[8]
with 4 (column,row) values,
specifying the endpoints of the major axis followed by the endpoints
of the minor axis of the ellipse.
SCoordContent.Ellipse
object.
java.lang.NullPointerException
- if graphicData
is
null
.
java.lang.IllegalArgumentException
- if graphicData
contains
more or less than 8 floats.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
TCoordContent.Point createPointTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.Point
with specified properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with one entry.
TCoordContent.Point
object.
java.lang.NullPointerException
- if positions
is
null
.
java.lang.IllegalArgumentException
- if positions
contains
more or less than 1 entry.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
TCoordContent.MultiPoint createMultiPointTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.MultiPoint
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with one entry.
TCoordContent.MultiPoint
object.
java.lang.NullPointerException
- if positions
is
null
.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
TCoordContent.Segment createSegmentTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.Segment
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with two entries.
TCoordContent.Segment
object.
java.lang.NullPointerException
- if positions
is
null
.
java.lang.IllegalArgumentException
- if positions
contains
more or less than two entries.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
TCoordContent.MultiSegment createMultiSegmentTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.MultiSegment
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with 2N entries.
TCoordContent.MultiSegment
object.
java.lang.NullPointerException
- if positions
is
null
.
java.lang.IllegalArgumentException
- if positions
contains
an odd number of entries.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
TCoordContent.Begin createBeginTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.Begin
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with one entry.
TCoordContent.Begin
object.
java.lang.NullPointerException
- if positions
is
null
.
java.lang.IllegalArgumentException
- if positions
contains
more or less than one entry.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
TCoordContent.End createEndTCoordContent(java.util.Date obsDateTime, Template template, Code name, TCoordContent.Positions positions)
TCoordContent.End
with specified
properties.
obsDateTime
- Observation DateTime or null
.template
- Content Template or null
.name
- Concept Name Code or null
.positions
- TCoordContent.Positions
with one entry.
TCoordContent.End
object.
java.lang.NullPointerException
- if positions
is
null
.
java.lang.IllegalArgumentException
- if positions
contains
more or less than one entry.SRDocumentFactory.newCode(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
,
SRDocumentFactory.newTemplate(java.lang.String, java.lang.String, java.util.Date, java.util.Date)
,
SRDocumentFactory.newSamplePositions(int[])
,
SRDocumentFactory.newRelativePositions(float[])
,
SRDocumentFactory.newAbsolutePositions(java.util.Date[])
ReferencedContent createReferencedContent(Content refContent)
ReferencedContent
which refers the specified
Content
.
refContent
- referenced Content
.
ReferencedContent
object.
java.lang.NullPointerException
- if refContent
is
null
.
java.lang.IllegalArgumentException
- if refContent
is not
in the content tree of this document, or if refContent
is
a ReferencedContent
.ReferencedContent createReferencedContent(int[] refContentId)
ReferencedContent
which refers the specified
Content
. The referenced Content
may not yet be
inserted into the content tree of this document at creation time. But
ReferencedContent.getRefContent()
will fail, throwing a
NoSuchElementException
, as long the document does not
contain a Content
with the specified Content Item
Identifier.
refContentId
- Content Item Identifier of referenced
Content
.
ReferencedContent
object.
java.lang.NullPointerException
- if refContentId
is
null
.
java.lang.IllegalArgumentException
- if refContentId
is not a
valid Content Item Identifier.Content importContent(Content importedContent, boolean deep)
The Observation DateTime of the imported content is explicitly
set to importedContent.getObservationDateTime(true)
.
importedContent
- The content to import.deep
- If true
, recursively imports the subtree under
the specified content; if false
, imports only the content
itself.
java.lang.NullPointerException
- if importedContent
is
null
.Content.clone(boolean)
Dataset toDataset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |