public class Copy extends AnnotationManagerOperation implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotation |
java.lang.String |
target |
java.lang.String |
unless |
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Copy.
|
static Copy |
fromString(java.lang.String s)
String representation of this Copy.
|
java.lang.String |
getAnnotation()
The source annotation to be copied
|
java.lang.String |
getTarget()
The target annotation
|
java.lang.String |
getUnless()
Copies the source annotation unless this annotation is present
|
Copy |
makeCopy()
Creates and returns a deep copy of this Copy.
|
static Copy |
readFrom(java.io.InputStream is)
Read this Copy from an XML fragment.
|
void |
setAnnotation(java.lang.String annotation)
The source annotation to be copied
|
void |
setTarget(java.lang.String target)
The target annotation
|
void |
setUnless(java.lang.String unless)
Copies the source annotation unless this annotation is present
|
java.lang.String |
toString()
String representation of this Copy.
|
Copy |
withAnnotation(java.lang.String annotation) |
Copy |
withTarget(java.lang.String target) |
Copy |
withUnless(java.lang.String unless) |
void |
writeTo(java.io.OutputStream os)
Write this Copy as an XML fragment
|
public java.lang.String annotation
public java.lang.String target
public java.lang.String unless
public Copy()
public Copy(Copy o)
public void setAnnotation(java.lang.String annotation)
public java.lang.String getAnnotation()
public Copy withAnnotation(java.lang.String annotation)
public void setTarget(java.lang.String target)
public java.lang.String getTarget()
public Copy withTarget(java.lang.String target)
public void setUnless(java.lang.String unless)
public java.lang.String getUnless()
public Copy withUnless(java.lang.String unless)
public Copy makeCopy()
makeCopy
in class AnnotationManagerOperation
public static Copy 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 AnnotationManagerOperation
javax.xml.bind.JAXBException
java.io.IOException
public static Copy 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 AnnotationManagerOperation
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class AnnotationManagerOperation
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.