|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.datamodel.tools.DatamodelCopyUtils
public final class DatamodelCopyUtils
The Class CloneUtils.
| Method Summary | |
|---|---|
static Annotation |
cloneAnnotation(Annotation source,
RecordFactory factory)
Clone annotation. |
static Attribute |
cloneAttribute(Attribute source,
RecordFactory factory)
Clone attribute. |
static Attribute |
cloneAttribute(Attribute source,
RecordFactory factory,
boolean doCopyAnnotation)
Clone attribute. |
static Literal |
cloneLiteral(Literal source,
RecordFactory factory)
Clone literal. |
static MObject |
cloneMObject(MObject source,
RecordFactory factory)
Clone m object. |
static void |
copyAnnotations(Annotatable source,
Annotatable destination,
RecordFactory factory)
Copy annotations. |
static void |
copyAttributes(MObject source,
MObject destination,
RecordFactory factory)
Copy attributes. |
static void |
copyLiterals(Attribute source,
Attribute destination,
RecordFactory factory)
Copy literals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MObject cloneMObject(MObject source,
RecordFactory factory)
source - the sourcefactory - the factory
public static void copyAttributes(MObject source,
MObject destination,
RecordFactory factory)
source - the sourcedestination - the destinationfactory - the factory
public static void copyAnnotations(Annotatable source,
Annotatable destination,
RecordFactory factory)
source - the sourcedestination - the destinationfactory - the record factory
public static void copyLiterals(Attribute source,
Attribute destination,
RecordFactory factory)
source - the sourcedestination - the destinationfactory - the factory
public static Annotation cloneAnnotation(Annotation source,
RecordFactory factory)
source - the source annotationfactory - the record factory
public static Attribute cloneAttribute(Attribute source,
RecordFactory factory)
source - the source attributefactory - the factory
public static Attribute cloneAttribute(Attribute source,
RecordFactory factory,
boolean doCopyAnnotation)
source - the sourcefactory - the factorydoCopyAnnotation - the do copy annotation
public static Literal cloneLiteral(Literal source,
RecordFactory factory)
source - the sourcefactory - the factory
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||