@Generated(value="org.jsonschema2pojo") public class VerbDefinition extends Object implements Serializable
A verb definition declares what objectTypes should accompany a specific verb in an activity
Constructor and Description |
---|
VerbDefinition() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getDisplayName()
displayName
|
List<String> |
getHypernyms()
An array of zero or more other Strings known verbs for which this verb can be considered to be a synonym or alias.
|
String |
getId()
The unique identifier for the verb object
(Required)
|
List<ObjectCombination> |
getObjects()
An array of Object Combinations.
|
String |
getObjectType()
objectType
|
List<String> |
getSynonyms()
An array of zero or more other Strings known verbs for which this verb can be considered to be a synonym or alias.
|
String |
getValue()
value
|
int |
hashCode() |
void |
setDisplayName(String displayName)
displayName
|
void |
setHypernyms(List<String> hypernyms)
An array of zero or more other Strings known verbs for which this verb can be considered to be a synonym or alias.
|
void |
setId(String id)
The unique identifier for the verb object
(Required)
|
void |
setObjects(List<ObjectCombination> objects)
An array of Object Combinations.
|
void |
setObjectType(String objectType)
objectType
|
void |
setSynonyms(List<String> synonyms)
An array of zero or more other Strings known verbs for which this verb can be considered to be a synonym or alias.
|
void |
setValue(String value)
value
|
String |
toString() |
VerbDefinition |
withDisplayName(String displayName) |
VerbDefinition |
withHypernyms(List<String> hypernyms) |
VerbDefinition |
withId(String id) |
VerbDefinition |
withObjects(List<ObjectCombination> objects) |
VerbDefinition |
withObjectType(String objectType) |
VerbDefinition |
withSynonyms(List<String> synonyms) |
VerbDefinition |
withValue(String value) |
@BeanProperty(value="objectType") public String getObjectType()
verb (Required)
@BeanProperty(value="objectType") public void setObjectType(String objectType)
verb (Required)
objectType
- The objectTypepublic VerbDefinition withObjectType(String objectType)
@BeanProperty(value="id") public String getId()
@BeanProperty(value="id") public void setId(String id)
id
- The idpublic VerbDefinition withId(String id)
@BeanProperty(value="value") public String getValue()
The specific String that is to be used for the 'verb' property within an Activity object. (Required)
@BeanProperty(value="value") public void setValue(String value)
The specific String that is to be used for the 'verb' property within an Activity object. (Required)
value
- The valuepublic VerbDefinition withValue(String value)
@BeanProperty(value="displayName") public String getDisplayName()
A natural-language, human-readable and plain-text display name for the verb.
@BeanProperty(value="displayName") public void setDisplayName(String displayName)
A natural-language, human-readable and plain-text display name for the verb.
displayName
- The displayNamepublic VerbDefinition withDisplayName(String displayName)
@BeanProperty(value="synonyms") public List<String> getSynonyms()
@BeanProperty(value="synonyms") public void setSynonyms(List<String> synonyms)
synonyms
- The synonymspublic VerbDefinition withSynonyms(List<String> synonyms)
@BeanProperty(value="hypernyms") public List<String> getHypernyms()
@BeanProperty(value="hypernyms") public void setHypernyms(List<String> hypernyms)
hypernyms
- The hypernymspublic VerbDefinition withHypernyms(List<String> hypernyms)
@BeanProperty(value="objects") public List<ObjectCombination> getObjects()
@BeanProperty(value="objects") public void setObjects(List<ObjectCombination> objects)
objects
- The objectspublic VerbDefinition withObjects(List<ObjectCombination> objects)
Copyright © 2018 The Apache Software Foundation. All rights reserved.