Enum Include
- java.lang.Object
-
- java.lang.Enum<Include>
-
- com.orchestranetworks.rest.serialization.Include
-
- All Implemented Interfaces:
Serializable,Comparable<Include>
public enum Include extends Enum<Include>
Holds the available options for configuring the content of the generated JSON response body.Except for the
ALLoption, the inclusions are cumulative and non-conflicting. The use of theALLoption implies that every possible inclusion will proceed.- Since:
- 6.0.0
- See Also:
ExtendedOutput
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLIncludes every available information.CONTENTIncludes every item's content.DETAILSIncludes theURLs to the items' details.HISTORYIncludes data related to the history (i.e. history activation for a table).LABELIncludes labels.MERGE_INFOIncludes the history merge information.METAIncludes the metadata.SELECTORIncludes theURLs to the selectors' details.TECHNICALSIncludes the technical data (i.e. the records' creation date).VALIDATIONIncludes the validation reports.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IncludevalueOf(String name)Returns the enum constant of this type with the specified name.static Include[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final Include ALL
Includes every available information.
-
LABEL
public static final Include LABEL
Includes labels.
-
MERGE_INFO
public static final Include MERGE_INFO
Includes the history merge information.
-
META
public static final Include META
Includes the metadata.
-
TECHNICALS
public static final Include TECHNICALS
Includes the technical data (i.e. the records' creation date).
-
VALIDATION
public static final Include VALIDATION
Includes the validation reports.
-
HISTORY
public static final Include HISTORY
Includes data related to the history (i.e. history activation for a table).
-
CONTENT
public static final Include CONTENT
Includes every item's content.
-
-
Method Detail
-
values
public static Include[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Include c : Include.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Include valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-