public class Ctx extends Annotation implements com.exalead.util.Checkable, java.io.Serializable
Annotation.Error
DEFAULT_ERROR, DEFAULT_REQUIRED, DEFAULT_USE_DISPLAY_FORM, DEFAULT_VALUE, error, kind, required, useDisplayForm, value
anchor, DEFAULT_ANCHOR
DEFAULT_PRIORITY, name, priority
modifiedAt, modifiedBy
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Ctx.
|
static Ctx |
fromString(java.lang.String s)
String representation of this Ctx.
|
Ctx |
makeCopy()
Creates and returns a deep copy of this Ctx.
|
static Ctx |
readFrom(java.io.InputStream is)
Read this Ctx from an XML fragment.
|
java.lang.String |
toString()
String representation of this Ctx.
|
Ctx |
withAnchor(boolean anchor) |
Ctx |
withAnchor(java.lang.Boolean anchor) |
Ctx |
withError(java.lang.String error) |
Ctx |
withKind(java.lang.String kind) |
Ctx |
withModifiedAt(java.lang.Long modifiedAt) |
Ctx |
withModifiedBy(java.lang.String modifiedBy) |
Ctx |
withName(java.lang.String name) |
Ctx |
withPriority(int priority) |
Ctx |
withPriority(java.lang.Integer priority) |
Ctx |
withRequired(boolean required)
Deprecated.
|
Ctx |
withRequired(java.lang.Boolean required)
Deprecated.
|
Ctx |
withUseDisplayForm(boolean useDisplayForm) |
Ctx |
withUseDisplayForm(java.lang.Boolean useDisplayForm) |
Ctx |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this Ctx as an XML fragment
|
getError, getErrorAsEnum, getKind, getValue, isA, isOneOf, isRequired, isUseDisplayForm, setError, setError, setKind, setRequired, setUseDisplayForm, setValue
isAnchor, setAnchor
getName, getPriority, setName, setPriority
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public Ctx()
public Ctx(Ctx o)
public Ctx withKind(java.lang.String kind)
withKind
in class Annotation
public Ctx withValue(java.lang.String value)
withValue
in class Annotation
public Ctx withUseDisplayForm(boolean useDisplayForm)
withUseDisplayForm
in class Annotation
public Ctx withUseDisplayForm(java.lang.Boolean useDisplayForm)
withUseDisplayForm
in class Annotation
@Deprecated public Ctx withRequired(boolean required)
withRequired
in class Annotation
@Deprecated public Ctx withRequired(java.lang.Boolean required)
withRequired
in class Annotation
public Ctx withError(java.lang.String error)
withError
in class Annotation
public Ctx withAnchor(boolean anchor)
withAnchor
in class Annotation
public Ctx withAnchor(java.lang.Boolean anchor)
withAnchor
in class Annotation
public Ctx withPriority(int priority)
withPriority
in class Annotation
public Ctx withPriority(java.lang.Integer priority)
withPriority
in class Annotation
public Ctx withName(java.lang.String name)
withName
in class Annotation
public Ctx withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class Annotation
public Ctx withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class Annotation
public Ctx makeCopy()
makeCopy
in class Annotation
public static Ctx 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 Annotation
javax.xml.bind.JAXBException
java.io.IOException
public static Ctx 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 Annotation
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class Annotation
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.