Enum ActivityObject.Field
java.lang.Object
java.lang.Enum<ActivityObject.Field>
org.wso2.carbon.registry.social.api.activityStream.ActivityObject.Field
- All Implemented Interfaces:
Serializable,Comparable<ActivityObject.Field>,java.lang.constant.Constable
- Enclosing interface:
ActivityObject
Fields that represent the JSON elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe json field for attachments- A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the name of the JSON element.static ActivityObject.FieldReturns the enum constant of this type with the specified name.static ActivityObject.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATTACHMENTS
the json field for attachments- A collection of one or more additional, associated objects, similar to the concept of attached files in an email message. -
AUTHOR
-
CONTENT
-
DISPLAY_NAME
-
DOWNSTREAM_DUPLICATES
-
ID
-
IMAGE
-
OBJECT_TYPE
-
PUBLISHED
-
SUMMARY
-
UPDATED
-
UPSTREAM_DUPLICATES
-
URL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
Returns the name of the JSON element.- Overrides:
toStringin classEnum<ActivityObject.Field>- Returns:
- String the name of the JSON element
-