Package net.ontopia.topicmaps.utils
Class CopyUtils
java.lang.Object
net.ontopia.topicmaps.utils.CopyUtils
INTERNAL: Utilities for copying topic map data.
- Since:
- 3.4
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AssociationIFcopyAssociation(TopicIF targetPlayer, AssociationIF source, TopicIF sourcePlayer) INTERNAL: Copies the variant from the source topic to the target topic.static TopicIFcopyCharacteristics(TopicIF source) INTERNAL: Creates a new topic and copies all the characteristics from the source topic to this new topic.static voidcopyCharacteristics(TopicIF target, TopicIF source) INTERNAL: Copies all the characteristics from the source topic to the target topic.static OccurrenceIFcopyOccurrence(TopicIF target, OccurrenceIF source) INTERNAL: Copies the occurrence from the source topic to the target topic.static voidcopyOccurrenceData(OccurrenceIF target, OccurrenceIF source) INTERNAL: Copies the occurrence value and datatype from the source topic to the target topic.static TopicNameIFcopyTopicName(TopicIF target, TopicNameIF source) INTERNAL: Copies the name from the source topic to the target topic.static VariantNameIFcopyVariant(TopicNameIF target, VariantNameIF source) INTERNAL: Copies the variant from the source topic to the target topic.static voidcopyVariantData(VariantNameIF target, VariantNameIF source) INTERNAL: Copies the variant value and datatype from the source topic to the target topic.
-
Constructor Details
-
CopyUtils
public CopyUtils()
-
-
Method Details
-
copyCharacteristics
INTERNAL: Creates a new topic and copies all the characteristics from the source topic to this new topic.- Returns:
- the new topic with a copy of all the characteristics.
-
copyCharacteristics
INTERNAL: Copies all the characteristics from the source topic to the target topic. -
copyOccurrence
INTERNAL: Copies the occurrence from the source topic to the target topic.- Since:
- 4.0
-
copyOccurrenceData
INTERNAL: Copies the occurrence value and datatype from the source topic to the target topic.- Since:
- 4.0
-
copyTopicName
INTERNAL: Copies the name from the source topic to the target topic.- Since:
- 4.0
-
copyVariant
INTERNAL: Copies the variant from the source topic to the target topic.- Since:
- 4.0
-
copyVariantData
INTERNAL: Copies the variant value and datatype from the source topic to the target topic.- Since:
- 4.0
-
copyAssociation
public static AssociationIF copyAssociation(TopicIF targetPlayer, AssociationIF source, TopicIF sourcePlayer) INTERNAL: Copies the variant from the source topic to the target topic.- Since:
- 4.0
-