public class PropertyValueImpl extends StructuredValueImpl implements PropertyValue
PropertyValue.PropertyValue.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
PropertyValueImpl(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) |
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getMaxValueList()
Returns the value list of property maxValue.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getMinValueList()
Returns the value list of property minValue.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getPropertyIDList()
Returns the value list of property propertyID.
|
protected com.google.common.collect.ImmutableList<ValueType> |
getPropertyList(java.lang.String property) |
protected ValueType |
getSingleValueProperty(java.lang.String name) |
com.google.common.collect.ImmutableList<SchemaOrgType> |
getUnitCodeList()
Returns the value list of property unitCode.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getUnitTextList()
Returns the value list of property unitText.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getValueList()
Returns the value list of property value.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getValueReferenceList()
Returns the value list of property valueReference.
|
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
getAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, contentEquals, getJsonLdContextList, getJsonLdId, getJsonLdReverseMap, getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdditionalTypeList, getAlternateNameList, getDescriptionList, getDetailedDescriptionList, getImageList, getMainEntityOfPageList, getNameList, getPopularityScoreList, getPotentialActionList, getSameAsList, getUrlListcontainsJsonLdId, 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 StructuredValueImplpublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeincludesProperty in class StructuredValueImplproperty - The name of property which can be short property name or full property name.public com.google.common.collect.ImmutableList<SchemaOrgType> getMaxValueList()
PropertyValuegetMaxValueList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getMinValueList()
PropertyValuegetMinValueList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getPropertyIDList()
PropertyValuegetPropertyIDList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitCodeList()
PropertyValuegetUnitCodeList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitTextList()
PropertyValuegetUnitTextList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getValueList()
PropertyValuegetValueList in interface PropertyValuepublic com.google.common.collect.ImmutableList<SchemaOrgType> getValueReferenceList()
PropertyValuegetValueReferenceList in interface PropertyValueprotected 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)