public class GeoProperty extends DataProperty implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GeoProperty.Type |
Property.Arity, Property.Tags
Modifier and Type | Field and Description |
---|---|
java.lang.String |
type |
additionalMetaNames, advancedParams, dedicatedField, DEFAULT_DEDICATED_FIELD, DEFAULT_DISJUNCTIVE_REFINES, DEFAULT_FACET, DEFAULT_OVERRIDE_CLASS_EXPANSION_PARAMS, DEFAULT_RAM_BASED, DEFAULT_RETRIEVABLE, DEFAULT_SEARCHABLE, defaultValue, disjunctiveRefines, dynamicProperty, facet, overrideClassExpansionParams, ramBased, retrievable, searchable
arity, ARITY_MANY, ARITY_ONE, ARITY_ZERO_OR_ONE, comment, DEFAULT_ARITY, keyValue, label, name, tags
Constructor and Description |
---|
GeoProperty() |
GeoProperty(GeoProperty o)
Copy constructor
|
GeoProperty(java.lang.String name,
java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this GeoProperty.
|
static GeoProperty |
fromString(java.lang.String s)
String representation of this GeoProperty.
|
java.lang.String |
getType()
Coordinate system of this geo property.
For now, only cartesian/planar systems are supported. |
GeoProperty.Type |
getTypeAsEnum()
Coordinate system of this geo property.
For now, only cartesian/planar systems are supported. |
static boolean |
isA(java.lang.String str,
GeoProperty.Type item) |
static boolean |
isOneOf(java.lang.String str,
GeoProperty.Type... items) |
GeoProperty |
makeCopy()
Creates and returns a deep copy of this GeoProperty.
|
static GeoProperty |
readFrom(java.io.InputStream is)
Read this GeoProperty from an XML fragment.
|
void |
setType(GeoProperty.Type item)
Coordinate system of this geo property.
For now, only cartesian/planar systems are supported. |
void |
setType(java.lang.String type)
Coordinate system of this geo property.
For now, only cartesian/planar systems are supported. |
java.lang.String |
toString()
String representation of this GeoProperty.
|
GeoProperty |
withAdditionalMetaNames(java.lang.String additionalMetaNames) |
GeoProperty |
withAdvancedParams(AdvancedParams advancedParams) |
GeoProperty |
withArity(java.lang.String arity) |
GeoProperty |
withComment(java.lang.String comment) |
GeoProperty |
withDedicatedField(boolean dedicatedField) |
GeoProperty |
withDedicatedField(java.lang.Boolean dedicatedField) |
GeoProperty |
withDefaultValue(java.lang.String defaultValue) |
GeoProperty |
withDisjunctiveRefines(boolean disjunctiveRefines) |
GeoProperty |
withDisjunctiveRefines(java.lang.Boolean disjunctiveRefines) |
GeoProperty |
withDynamicProperty(java.lang.String dynamicProperty) |
GeoProperty |
withFacet(boolean facet) |
GeoProperty |
withFacet(java.lang.Boolean facet) |
GeoProperty |
withKeyValue(java.util.Collection<KeyValue> __values) |
GeoProperty |
withKeyValue(KeyValue... __values) |
GeoProperty |
withLabel(java.util.Collection<Label> __values) |
GeoProperty |
withLabel(Label... __values)
Labels for the internationalization of this property's name
|
GeoProperty |
withName(java.lang.String name) |
GeoProperty |
withOverrideClassExpansionParams(boolean overrideClassExpansionParams) |
GeoProperty |
withOverrideClassExpansionParams(java.lang.Boolean overrideClassExpansionParams) |
GeoProperty |
withRamBased(boolean ramBased) |
GeoProperty |
withRamBased(java.lang.Boolean ramBased) |
GeoProperty |
withRetrievable(boolean retrievable) |
GeoProperty |
withRetrievable(java.lang.Boolean retrievable) |
GeoProperty |
withSearchable(boolean searchable) |
GeoProperty |
withSearchable(java.lang.Boolean searchable) |
GeoProperty |
withTags(java.util.Collection<KeyValue> __values) |
GeoProperty |
withTags(KeyValue... __values)
User-defined tags for this property.
|
GeoProperty |
withType(java.lang.String type) |
void |
writeTo(java.io.OutputStream os)
Write this GeoProperty as an XML fragment
|
getAdditionalMetaNames, getAdvancedParams, getDefaultValue, getDynamicProperty, isDedicatedField, isDisjunctiveRefines, isFacet, isOverrideClassExpansionParams, isRamBased, isRetrievable, isSearchable, setAdditionalMetaNames, setAdvancedParams, setDedicatedField, setDefaultValue, setDisjunctiveRefines, setDynamicProperty, setFacet, setOverrideClassExpansionParams, setRamBased, setRetrievable, setSearchable
addKeyValue, getArity, getArityAsEnum, getComment, getKeyValue, getLabel, getName, getTags, isA, isOneOf, setArity, setArity, setComment, setName, setTags, withTags
public GeoProperty()
public GeoProperty(GeoProperty o)
public GeoProperty(java.lang.String name, java.lang.String type)
public static boolean isA(java.lang.String str, GeoProperty.Type item)
public static boolean isOneOf(java.lang.String str, GeoProperty.Type... items)
public void setType(GeoProperty.Type item)
public GeoProperty.Type getTypeAsEnum()
public GeoProperty withAdvancedParams(AdvancedParams advancedParams)
withAdvancedParams
in class DataProperty
public GeoProperty withOverrideClassExpansionParams(boolean overrideClassExpansionParams)
withOverrideClassExpansionParams
in class DataProperty
public GeoProperty withOverrideClassExpansionParams(java.lang.Boolean overrideClassExpansionParams)
withOverrideClassExpansionParams
in class DataProperty
public GeoProperty withDedicatedField(boolean dedicatedField)
withDedicatedField
in class DataProperty
public GeoProperty withDedicatedField(java.lang.Boolean dedicatedField)
withDedicatedField
in class DataProperty
public GeoProperty withDynamicProperty(java.lang.String dynamicProperty)
withDynamicProperty
in class DataProperty
public GeoProperty withSearchable(boolean searchable)
withSearchable
in class DataProperty
public GeoProperty withSearchable(java.lang.Boolean searchable)
withSearchable
in class DataProperty
public GeoProperty withRetrievable(boolean retrievable)
withRetrievable
in class DataProperty
public GeoProperty withRetrievable(java.lang.Boolean retrievable)
withRetrievable
in class DataProperty
public GeoProperty withRamBased(boolean ramBased)
withRamBased
in class DataProperty
public GeoProperty withRamBased(java.lang.Boolean ramBased)
withRamBased
in class DataProperty
public GeoProperty withFacet(boolean facet)
withFacet
in class DataProperty
public GeoProperty withFacet(java.lang.Boolean facet)
withFacet
in class DataProperty
public GeoProperty withDisjunctiveRefines(boolean disjunctiveRefines)
withDisjunctiveRefines
in class DataProperty
public GeoProperty withDisjunctiveRefines(java.lang.Boolean disjunctiveRefines)
withDisjunctiveRefines
in class DataProperty
public GeoProperty withDefaultValue(java.lang.String defaultValue)
withDefaultValue
in class DataProperty
public GeoProperty withAdditionalMetaNames(java.lang.String additionalMetaNames)
withAdditionalMetaNames
in class DataProperty
public GeoProperty withKeyValue(KeyValue... __values)
withKeyValue
in class DataProperty
public GeoProperty withKeyValue(java.util.Collection<KeyValue> __values)
withKeyValue
in class DataProperty
public GeoProperty withArity(java.lang.String arity)
withArity
in class DataProperty
public GeoProperty withName(java.lang.String name)
withName
in class DataProperty
public GeoProperty withComment(java.lang.String comment)
withComment
in class DataProperty
public GeoProperty withLabel(Label... __values)
withLabel
in class DataProperty
public GeoProperty withLabel(java.util.Collection<Label> __values)
withLabel
in class DataProperty
public GeoProperty withTags(KeyValue... __values)
withTags
in class DataProperty
public GeoProperty withTags(java.util.Collection<KeyValue> __values)
withTags
in class DataProperty
public void setType(java.lang.String type)
public java.lang.String getType()
public GeoProperty withType(java.lang.String type)
public GeoProperty makeCopy()
makeCopy
in class DataProperty
public static GeoProperty readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class DataProperty
javax.xml.bind.JAXBException
java.io.IOException
public static GeoProperty fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class DataProperty
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DataProperty
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.