Package org.goplanit.output.property
Class TimePeriodExternalIdOutputProperty
- java.lang.Object
-
- org.goplanit.output.property.OutputProperty
-
- org.goplanit.output.property.TimePeriodExternalIdOutputProperty
-
- All Implemented Interfaces:
Comparable<OutputProperty>
public final class TimePeriodExternalIdOutputProperty extends OutputProperty
-
-
Constructor Summary
Constructors Constructor Description TimePeriodExternalIdOutputProperty()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputPropertyPrioritygetColumnPriority()Gets the column priority of the output property in output files The lower the column priority value of a property, the further to the left it is placed in the output fileDataTypegetDataType()Returns the data type of the output propertyUnitgetDefaultUnit()Returns the units of the output propertyStringgetName()Returns the name of the output propertyOutputPropertyTypegetOutputPropertyType()Return the value of the OutputProperty enumeration for this propertystatic Optional<String>getTimePeriodExternalId(TimePeriod timePeriod)Returns the current time period external Id-
Methods inherited from class org.goplanit.output.property.OutputProperty
compareTo, equals, getOverrideUnit, hashCode, isUnitOverride, of, of, setUnitOverride, supportsUnitOverride
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
Returns the name of the output property- Specified by:
getNamein classOutputProperty- Returns:
- name of the output property
-
getDefaultUnit
public Unit getDefaultUnit()
Returns the units of the output property- Specified by:
getDefaultUnitin classOutputProperty- Returns:
- units of the output property
-
getDataType
public DataType getDataType()
Description copied from class:OutputPropertyReturns the data type of the output property- Specified by:
getDataTypein classOutputProperty- Returns:
- data type of the output property
-
getOutputPropertyType
public OutputPropertyType getOutputPropertyType()
Return the value of the OutputProperty enumeration for this property- Specified by:
getOutputPropertyTypein classOutputProperty- Returns:
- the value of the OutputProperty enumeration for this property
-
getColumnPriority
public OutputPropertyPriority getColumnPriority()
Gets the column priority of the output property in output files The lower the column priority value of a property, the further to the left it is placed in the output file- Specified by:
getColumnPriorityin classOutputProperty- Returns:
- the column priority
-
getTimePeriodExternalId
public static Optional<String> getTimePeriodExternalId(TimePeriod timePeriod) throws PlanItException
Returns the current time period external Id- Parameters:
timePeriod- current time period- Returns:
- the current time period external Id
- Throws:
PlanItException- thrown if there is an error
-
-