public class TLcdGML32TimePeriod extends TLcdGML32AbstractTimeGeometricPrimitive implements ILcdTimeBounds
ILcdTimeBounds.Boundedness
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BEGIN_PROPERTY
Data property that maps to the choice between the
beginPosition and begin elements. |
static TLcdDataProperty |
END_PROPERTY
Data property that maps to the choice between the
endPosition and end elements. |
static TLcdDataProperty |
LENGTH_PROPERTY
Data property that maps to the choice between the
duration and timeInterval elements. |
FRAME_PROPERTY
RELATED_TIME_PROPERTY
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
TLcdGML32TimePeriod()
Creates a new time period.
|
TLcdGML32TimePeriod(TLcdDataType aType) |
TLcdGML32TimePeriod(TLcdGML32TimePosition aBegin,
TLcdGML32TimePosition aEnd)
Creates a new time period based on the given begin and end time positions.
|
Modifier and Type | Method and Description |
---|---|
ILcdDataObject |
getBegin()
Returns the value of the property that maps to the choice between the
beginPosition and begin elements. |
long |
getBeginTime()
Returns the begin time of this
ILcdTimeBounds . |
ILcdTimeBounds.Boundedness |
getBeginTimeBoundedness()
Returns the boundedness of the begin time.
|
ILcdDataObject |
getEnd()
Returns the value of the property that maps to the choice between the
endPosition and end elements. |
long |
getEndTime()
Returns the end time of this
ILcdTimeBounds . |
ILcdTimeBounds.Boundedness |
getEndTimeBoundedness()
Returns the boundedness of the end time.
|
Object |
getLength()
Returns the value of the property that maps to the choice between the
duration and timeInterval elements. |
void |
setBegin(ILcdDataObject aValue)
Sets the value of the property that maps to the choice between the
beginPosition and begin elements. |
void |
setEnd(ILcdDataObject aValue)
Sets the value of the property that maps to the choice between the
endPosition and end elements. |
void |
setLength(Object aValue)
Sets the value of the property that maps to the choice between the
duration and timeInterval elements. |
getFrame, setFrame
getRelatedTime
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
public static final TLcdDataProperty BEGIN_PROPERTY
beginPosition
and begin
elements.
The possible values for this property are instances of
public static final TLcdDataProperty END_PROPERTY
endPosition
and end
elements.
The possible values for this property are instances of
public static final TLcdDataProperty LENGTH_PROPERTY
duration
and timeInterval
elements.
The possible values for this property are instances of
Duration
TLcdGML32TimeIntervalLength
public TLcdGML32TimePeriod()
public TLcdGML32TimePeriod(TLcdDataType aType)
public TLcdGML32TimePeriod(TLcdGML32TimePosition aBegin, TLcdGML32TimePosition aEnd)
aBegin
- the new begin valueaEnd
- the new end valuepublic ILcdTimeBounds.Boundedness getBeginTimeBoundedness()
getBeginTimeBoundedness
in interface ILcdTimeBounds
public ILcdTimeBounds.Boundedness getEndTimeBoundedness()
getEndTimeBoundedness
in interface ILcdTimeBounds
public long getBeginTime()
ILcdTimeBounds
. The long value
is defined as in Date.getTime()
.
This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED
. Otherwise, the return value of this method is undefined.getBeginTime
in interface ILcdTimeBounds
ILcdTimeBounds
.public long getEndTime()
ILcdTimeBounds
. The long value is
defined as in Date.getTime()
.
This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED
. Otherwise, the return value of this method is undefined.getEndTime
in interface ILcdTimeBounds
ILcdTimeBounds
.public ILcdDataObject getBegin()
beginPosition
and begin
elements.
The possible values for this property are instances of
BEGIN_PROPERTY
property.public void setBegin(ILcdDataObject aValue)
beginPosition
and begin
elements.
The possible values for this property are instances of
aValue
- the value to set for the BEGIN_PROPERTY
property.public ILcdDataObject getEnd()
endPosition
and end
elements.
The possible values for this property are instances of
END_PROPERTY
property.public void setEnd(ILcdDataObject aValue)
endPosition
and end
elements.
The possible values for this property are instances of
aValue
- the value to set for the END_PROPERTY
property.public Object getLength()
duration
and timeInterval
elements.
The possible values for this property are instances of
Duration
TLcdGML32TimeIntervalLength
LENGTH_PROPERTY
property.public void setLength(Object aValue)
duration
and timeInterval
elements.
The possible values for this property are instances of
Duration
TLcdGML32TimeIntervalLength
aValue
- the value to set for the LENGTH_PROPERTY
property.