Class Tuple
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.Tuple
Reflective, immutable implementation of OCL Tuples.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()Returns thisTuple's value map.booleanstatic TuplefromCalendar(Calendar cal) Returns a newTuplefromcal.static TupleCreates a newTuplefrommap.Returns the value forname.inthashCode()toDate()Returns aDateinstance using the fields of this tuple.
-
Constructor Details
-
Tuple
public Tuple()Creates a new emptyTuple. -
Tuple
-
-
Method Details
-
fromMap
-
fromCalendar
Returns a newTuplefromcal. Supported fields: timezone, year, month, day_of_month, day_of_week, day_of_week_in_month, day_of_year, era, hour, hour_of_day, minute, second, millisecond, am_pm, week_of_month, week_of_year. -
get
-
equals
-
hashCode
-
asMap
-
toDate
Returns aDateinstance using the fields of this tuple. Supported fields: timezone, locale, year, month, day_of_month, day_of_week, day_of_week_in_month, day_of_year, era, hour, hour_of_day, minute, second, millisecond, am_pm, week_of_month, week_of_year.- Returns:
- a
Dateinstance using the fields of this tuple - See Also:
-