public abstract class DataType extends java.lang.Object implements SchemaOrgType
SchemaOrgType.Builder| Modifier and Type | Method and Description |
|---|---|
boolean |
contentEquals(ValueType o)
Compares this ValueType to the specified ValueType.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFullTypeName()
Returns the full name of this schema.org type.
|
com.google.common.collect.ImmutableList<SchemaOrgType> |
getProperty(java.lang.String name)
Returns the list of values of a specified property.
|
java.lang.String |
getValue() |
int |
hashCode() |
boolean |
includesProperty(java.lang.String property)
Whether the property can be set in this type.
|
public java.lang.String getValue()
public boolean contentEquals(ValueType o)
ValueTypecontentEquals in interface ValueTypepublic java.lang.String getFullTypeName()
SchemaOrgTypegetFullTypeName in interface SchemaOrgTypepublic boolean includesProperty(java.lang.String property)
SchemaOrgTypeincludesProperty in interface SchemaOrgTypeproperty - The name of property which can be short property name or full property name.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.google.common.collect.ImmutableList<SchemaOrgType> getProperty(java.lang.String name)
SchemaOrgTypegetProperty in interface SchemaOrgTypename - The property name.