Package wt.eff
Class DateEffRange
java.lang.Object
wt.eff._DateEffRange
wt.eff.DateEffRange
- All Implemented Interfaces:
Externalizable,Serializable,_EffRange,EffRange,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(interfaces=EffRange.class,versions=-3308990697785703074L,properties={@GeneratedProperty(name="start",type=java.sql.Timestamp.class,supportedAPI=PUBLIC,javaDoc="The start value, constrained as a Timestamp.",constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(persistent=true)),@GeneratedProperty(name="end",type=java.sql.Timestamp.class,supportedAPI=PUBLIC,javaDoc="The end value, constrained as a Timestamp.",columnProperties=@ColumnProperties(persistent=true))})
public class DateEffRange
extends _DateEffRange
A range using Timestamps.
Use the newDateEffRange static factory method(s), not the
DateEffRange constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.eff._DateEffRange
END, START -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitialize(Timestamp startValue) Supports initialization, following construction of an instance.protected voidinitialize(Timestamp startValue, Timestamp endValue) Supports initialization, following construction of an instance.static DateEffRangenewDateEffRange(Timestamp startValue) Factory which sets the start value.static DateEffRangenewDateEffRange(Timestamp startValue, Timestamp endValue) Factory which sets the start and end value
Supported API: trueMethods inherited from class wt.eff._DateEffRange
getEnd, getStart, setEnd, setStart
-
Method Details
-
newDateEffRange
public static DateEffRange newDateEffRange(Timestamp startValue, Timestamp endValue) throws WTPropertyVetoException Factory which sets the start and end value
Supported API: true- Parameters:
startValue-endValue-- Returns:
- DateEffRange
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
startValue-endValue-- Throws:
WTPropertyVetoException
-
newDateEffRange
Factory which sets the start value. The end is left null.
Supported API: true- Parameters:
startValue-- Returns:
- DateEffRange
- Throws:
WTPropertyVetoException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
startValue-- Throws:
WTPropertyVetoException
-