public class TypeAndQuantityNodeImpl extends StructuredValueImpl implements TypeAndQuantityNode
TypeAndQuantityNode.TypeAndQuantityNode.Builder| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableListMultimap<java.lang.String,ValueType> |
properties |
| Constructor and Description |
|---|
TypeAndQuantityNodeImpl(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> |
getAmountOfThisGoodList()
Returns the value list of property amountOfThisGood.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getBusinessFunctionList()
Returns the value list of property businessFunction.
|
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
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> |
getTypeOfGoodList()
Returns the value list of property typeOfGood.
|
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.
|
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> getAmountOfThisGoodList()
TypeAndQuantityNodegetAmountOfThisGoodList in interface TypeAndQuantityNodepublic com.google.common.collect.ImmutableList<SchemaOrgType> getBusinessFunctionList()
TypeAndQuantityNodegetBusinessFunctionList in interface TypeAndQuantityNodepublic com.google.common.collect.ImmutableList<SchemaOrgType> getTypeOfGoodList()
TypeAndQuantityNodegetTypeOfGoodList in interface TypeAndQuantityNodepublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitCodeList()
TypeAndQuantityNodegetUnitCodeList in interface TypeAndQuantityNodepublic com.google.common.collect.ImmutableList<SchemaOrgType> getUnitTextList()
TypeAndQuantityNodegetUnitTextList in interface TypeAndQuantityNodeprotected 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)