public class BoolFeature extends ValuedFeature implements com.exalead.util.Checkable, java.io.Serializable
ValuedFeature.Units
Feature.Triggers
Modifier and Type | Field and Description |
---|---|
java.lang.String |
no |
java.lang.String |
yes |
unit, units
annotation, DEFAULT_LEVEL, display, level, trigger, triggers
Constructor and Description |
---|
BoolFeature() |
BoolFeature(BoolFeature o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this BoolFeature.
|
static BoolFeature |
fromString(java.lang.String s)
String representation of this BoolFeature.
|
java.lang.String |
getNo() |
java.lang.String |
getYes() |
BoolFeature |
makeCopy()
Creates and returns a deep copy of this BoolFeature.
|
static BoolFeature |
readFrom(java.io.InputStream is)
Read this BoolFeature from an XML fragment.
|
void |
setNo(java.lang.String no) |
void |
setYes(java.lang.String yes) |
java.lang.String |
toString()
String representation of this BoolFeature.
|
BoolFeature |
withAnnotation(java.lang.String annotation) |
BoolFeature |
withDisplay(java.lang.String display) |
BoolFeature |
withLevel(java.lang.String level) |
BoolFeature |
withNo(java.lang.String no) |
BoolFeature |
withTrigger(java.lang.String trigger) |
BoolFeature |
withTriggers(java.util.Collection<exa.bee.StringValue> __values) |
BoolFeature |
withTriggers(exa.bee.StringValue... __values) |
BoolFeature |
withUnit(java.lang.String unit) |
BoolFeature |
withUnits(java.util.Collection<exa.bee.StringValue> __values) |
BoolFeature |
withUnits(exa.bee.StringValue... __values) |
BoolFeature |
withYes(java.lang.String yes) |
void |
writeTo(java.io.OutputStream os)
Write this BoolFeature as an XML fragment
|
getUnit, getUnits, setUnit, setUnits, withUnits
getAnnotation, getDisplay, getLevel, getTrigger, getTriggers, setAnnotation, setDisplay, setLevel, setTrigger, setTriggers, withTriggers
public BoolFeature()
public BoolFeature(BoolFeature o)
public BoolFeature withUnit(java.lang.String unit)
withUnit
in class ValuedFeature
public BoolFeature withUnits(exa.bee.StringValue... __values)
withUnits
in class ValuedFeature
public BoolFeature withUnits(java.util.Collection<exa.bee.StringValue> __values)
withUnits
in class ValuedFeature
public BoolFeature withTrigger(java.lang.String trigger)
withTrigger
in class ValuedFeature
public BoolFeature withTriggers(exa.bee.StringValue... __values)
withTriggers
in class ValuedFeature
public BoolFeature withTriggers(java.util.Collection<exa.bee.StringValue> __values)
withTriggers
in class ValuedFeature
public BoolFeature withAnnotation(java.lang.String annotation)
withAnnotation
in class ValuedFeature
public BoolFeature withDisplay(java.lang.String display)
withDisplay
in class ValuedFeature
public BoolFeature withLevel(java.lang.String level)
withLevel
in class ValuedFeature
public void setYes(java.lang.String yes)
public java.lang.String getYes()
public BoolFeature withYes(java.lang.String yes)
public void setNo(java.lang.String no)
public java.lang.String getNo()
public BoolFeature withNo(java.lang.String no)
public BoolFeature makeCopy()
makeCopy
in class ValuedFeature
public static BoolFeature 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 ValuedFeature
javax.xml.bind.JAXBException
java.io.IOException
public static BoolFeature 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 ValuedFeature
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class ValuedFeature
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.