public class ThingImpl extends SchemaOrgTypeImpl implements Thing
Thing.Thing.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
ThingImpl(com.google.common.collect.Multimap<java.lang.String,ValueType> properties,
com.google.common.collect.Multimap<java.lang.String,Thing> reverseMap) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
containsProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAdditionalTypeList()
Returns the value list of property additionalType.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getAlternateNameList()
Returns the value list of property alternateName.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getDescriptionList()
Returns the value list of property description.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getDetailedDescriptionList()
Returns the value list of property detailedDescription.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getImageList()
Returns the value list of property image.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getMainEntityOfPageList()
Returns the value list of property mainEntityOfPage.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getNameList()
Returns the value list of property name.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPopularityScoreList()
Returns the value list of property popularityScore.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPotentialActionList()
Returns the value list of property potentialAction.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getSameAsList()
Returns the value list of property sameAs.
|
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getUrlList()
Returns the value list of property url.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
containsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsJsonLdId, getJsonLdContextList, getJsonLdId, getJsonLdReverseMapgetPropertycontentEqualsprotected final com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> properties
public java.lang.String getFullTypeName()
SchemaOrgTypegetFullTypeName in interface SchemaOrgTypegetFullTypeName in class SchemaOrgTypeImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class SchemaOrgTypeImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getAdditionalTypeList()
ThinggetAdditionalTypeList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getAlternateNameList()
ThinggetAlternateNameList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getDescriptionList()
ThinggetDescriptionList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getImageList()
ThinggetImageList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getMainEntityOfPageList()
ThinggetMainEntityOfPageList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getNameList()
ThinggetNameList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getPotentialActionList()
ThinggetPotentialActionList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getSameAsList()
ThinggetSameAsList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getUrlList()
ThinggetUrlList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getDetailedDescriptionList()
ThinggetDetailedDescriptionList in interface Thingpublic com.google.common.collect.ImmutableList<SchemaOrgType> getPopularityScoreList()
ThinggetPopularityScoreList in interface Thingprotected boolean containsProperty(java.lang.String name)
@Nullable protected ValueType getSingleValueProperty(java.lang.String name) throws SchemaOrgException
SchemaOrgExceptionprotected com.google.common.collect.ImmutableList<ValueType> getPropertyList(java.lang.String property)