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