Enum Class ChildCustody
- All Implemented Interfaces:
Serializable,Comparable<ChildCustody>,Constable
describes how a goal is satisfied by shared activity instances
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionactivity instances may be shared among multiple goals this should generally be the default as it allows synergy between goalsactivity instances may not be shared among goals the goal must have its own individual copy of the activity instance, even if all other constraints are met and even if all other goals allow joint custody this may cause unnecessary replication of activities in the plan, but may be desired in some cases where the activities are unique in some way besides their constrainable parameters -
Method Summary
Modifier and TypeMethodDescriptionstatic ChildCustodyReturns the enum constant of this class with the specified name.static ChildCustody[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Jointly
activity instances may be shared among multiple goals this should generally be the default as it allows synergy between goals -
Solely
activity instances may not be shared among goals the goal must have its own individual copy of the activity instance, even if all other constraints are met and even if all other goals allow joint custody this may cause unnecessary replication of activities in the plan, but may be desired in some cases where the activities are unique in some way besides their constrainable parameters
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-