@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) |
public String getObjectType()
verb (Required)
public void setObjectType(String objectType)
verb (Required)
objectType
- The objectTypepublic VerbDefinition withObjectType(String objectType)
public String getId()
public void setId(String id)
id
- The idpublic VerbDefinition withId(String id)
public String getValue()
The specific String that is to be used for the 'verb' property within an Activity object. (Required)
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)
public String getDisplayName()
A natural-language, human-readable and plain-text display name for the verb.
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)
public List<String> getSynonyms()
public void setSynonyms(List<String> synonyms)
synonyms
- The synonymspublic VerbDefinition withSynonyms(List<String> synonyms)
public List<String> getHypernyms()
public void setHypernyms(List<String> hypernyms)
hypernyms
- The hypernymspublic VerbDefinition withHypernyms(List<String> hypernyms)
public List<ObjectCombination> getObjects()
public void setObjects(List<ObjectCombination> objects)
objects
- The objectspublic VerbDefinition withObjects(List<ObjectCombination> objects)
Copyright © 2017 The Apache Software Foundation. All rights reserved.