public class BooleanField extends Field implements com.exalead.util.Checkable, java.io.Serializable
allowEmpty, DEFAULT_ALLOW_EMPTY, defaultValue
DEFAULT_IS_HIDDEN, DEFAULT_IS_MANDATORY, description, isHidden, isMandatory, name, ordering, title
Constructor and Description |
---|
BooleanField() |
BooleanField(BooleanField o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this BooleanField.
|
static BooleanField |
fromString(java.lang.String s)
String representation of this BooleanField.
|
BooleanField |
makeCopy()
Creates and returns a deep copy of this BooleanField.
|
static BooleanField |
readFrom(java.io.InputStream is)
Read this BooleanField from an XML fragment.
|
java.lang.String |
toString()
String representation of this BooleanField.
|
BooleanField |
withAllowEmpty(boolean allowEmpty) |
BooleanField |
withAllowEmpty(java.lang.Boolean allowEmpty) |
BooleanField |
withDefaultValue(java.lang.String defaultValue) |
BooleanField |
withDescription(java.lang.String description) |
BooleanField |
withIsHidden(boolean isHidden) |
BooleanField |
withIsHidden(java.lang.Boolean isHidden) |
BooleanField |
withIsMandatory(boolean isMandatory) |
BooleanField |
withIsMandatory(java.lang.Boolean isMandatory) |
BooleanField |
withName(java.lang.String name) |
BooleanField |
withOrdering(int ordering) |
BooleanField |
withOrdering(java.lang.Integer ordering) |
BooleanField |
withTitle(java.lang.String title) |
void |
writeTo(java.io.OutputStream os)
Write this BooleanField as an XML fragment
|
getDefaultValue, isAllowEmpty, setAllowEmpty, setDefaultValue
getDescription, getName, getOrdering, getTitle, isIsHidden, isIsMandatory, setDescription, setIsHidden, setIsMandatory, setName, setOrdering, setTitle
public BooleanField()
public BooleanField(BooleanField o)
public BooleanField withDefaultValue(java.lang.String defaultValue)
withDefaultValue
in class Field
public BooleanField withAllowEmpty(boolean allowEmpty)
withAllowEmpty
in class Field
public BooleanField withAllowEmpty(java.lang.Boolean allowEmpty)
withAllowEmpty
in class Field
public BooleanField withName(java.lang.String name)
public BooleanField withTitle(java.lang.String title)
public BooleanField withDescription(java.lang.String description)
withDescription
in class Field
public BooleanField withIsMandatory(boolean isMandatory)
withIsMandatory
in class Field
public BooleanField withIsMandatory(java.lang.Boolean isMandatory)
withIsMandatory
in class Field
public BooleanField withIsHidden(boolean isHidden)
withIsHidden
in class Field
public BooleanField withIsHidden(java.lang.Boolean isHidden)
withIsHidden
in class Field
public BooleanField withOrdering(int ordering)
withOrdering
in class Field
public BooleanField withOrdering(java.lang.Integer ordering)
withOrdering
in class Field
public BooleanField makeCopy()
public static BooleanField 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 BooleanField 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 © 2013 Dassault Systèmes, All Rights Reserved.