@Deprecated public class EnumProperty extends Property implements com.exalead.util.Checkable, java.io.Serializable
Property.Arity, Property.Tags
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_DISJUNCTIVE_REFINES
Deprecated.
|
boolean |
disjunctiveRefines
Deprecated.
|
java.lang.String |
type
Deprecated.
|
arity, ARITY_MANY, ARITY_ONE, ARITY_ZERO_OR_ONE, comment, DEFAULT_ARITY, keyValue, label, name, tags
Constructor and Description |
---|
EnumProperty()
Deprecated.
|
EnumProperty(EnumProperty o)
Deprecated.
Copy constructor
|
EnumProperty(java.lang.String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Deprecated.
Checks this EnumProperty.
|
static EnumProperty |
fromString(java.lang.String s)
Deprecated.
String representation of this EnumProperty.
|
java.lang.String |
getType()
Deprecated.
Name of the related DataModelEnum.
|
boolean |
isDisjunctiveRefines()
Deprecated.
Are refinements on this facet disjunctive ("checkboxes") or exclusive (select one)?
|
EnumProperty |
makeCopy()
Deprecated.
Creates and returns a deep copy of this EnumProperty.
|
static EnumProperty |
readFrom(java.io.InputStream is)
Deprecated.
Read this EnumProperty from an XML fragment.
|
void |
setDisjunctiveRefines(boolean disjunctiveRefines)
Deprecated.
Are refinements on this facet disjunctive ("checkboxes") or exclusive (select one)?
|
void |
setType(java.lang.String type)
Deprecated.
Name of the related DataModelEnum.
|
java.lang.String |
toString()
Deprecated.
String representation of this EnumProperty.
|
EnumProperty |
withArity(java.lang.String arity)
Deprecated.
|
EnumProperty |
withComment(java.lang.String comment)
Deprecated.
|
EnumProperty |
withDisjunctiveRefines(boolean disjunctiveRefines)
Deprecated.
|
EnumProperty |
withDisjunctiveRefines(java.lang.Boolean disjunctiveRefines)
Deprecated.
|
EnumProperty |
withKeyValue(java.util.Collection<KeyValue> __values)
Deprecated.
|
EnumProperty |
withKeyValue(KeyValue... __values)
Deprecated.
|
EnumProperty |
withLabel(java.util.Collection<Label> __values)
Deprecated.
|
EnumProperty |
withLabel(Label... __values)
Deprecated.
Labels for the internationalization of this property's name
|
EnumProperty |
withName(java.lang.String name)
Deprecated.
|
EnumProperty |
withTags(java.util.Collection<KeyValue> __values)
Deprecated.
|
EnumProperty |
withTags(KeyValue... __values)
Deprecated.
User-defined tags for this property.
|
EnumProperty |
withType(java.lang.String type)
Deprecated.
|
void |
writeTo(java.io.OutputStream os)
Deprecated.
Write this EnumProperty as an XML fragment
|
addKeyValue, getArity, getArityAsEnum, getComment, getKeyValue, getLabel, getName, getTags, isA, isOneOf, setArity, setArity, setComment, setName, setTags, withTags
public java.lang.String type
public boolean disjunctiveRefines
public static final boolean DEFAULT_DISJUNCTIVE_REFINES
public EnumProperty()
public EnumProperty(EnumProperty o)
public EnumProperty(java.lang.String name)
public EnumProperty withKeyValue(KeyValue... __values)
withKeyValue
in class Property
public EnumProperty withKeyValue(java.util.Collection<KeyValue> __values)
withKeyValue
in class Property
public EnumProperty withArity(java.lang.String arity)
public EnumProperty withName(java.lang.String name)
public EnumProperty withComment(java.lang.String comment)
withComment
in class Property
public EnumProperty withLabel(Label... __values)
public EnumProperty withLabel(java.util.Collection<Label> __values)
public EnumProperty withTags(KeyValue... __values)
public EnumProperty withTags(java.util.Collection<KeyValue> __values)
public void setType(java.lang.String type)
public java.lang.String getType()
public EnumProperty withType(java.lang.String type)
public void setDisjunctiveRefines(boolean disjunctiveRefines)
public boolean isDisjunctiveRefines()
public EnumProperty withDisjunctiveRefines(boolean disjunctiveRefines)
public EnumProperty withDisjunctiveRefines(java.lang.Boolean disjunctiveRefines)
public EnumProperty makeCopy()
public static EnumProperty 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
public static EnumProperty 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()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.