rs.sol.soloist.server.guiconfiguration.nonvisualcompoments
Class Transformer

java.lang.Object
  extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
      extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
          extended by rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
              extended by rs.sol.soloist.server.builtindomains.common.ObjectOfClass
                  extended by rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.Transformer
All Implemented Interfaces:
rs.sol.soloist.server.server.ITransformer, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement
Direct Known Subclasses:
ToSlotTransformer, ToSlotValueTransformer

public abstract class Transformer
extends rs.sol.soloist.server.builtindomains.common.ObjectOfClass
implements rs.sol.soloist.server.server.ITransformer

An abstract base class for all object transforming handlers.

Author:
SOL Expert Group
See Also:
ToSlotValueTransformer, ToSlotTransformer, ToSlotValueByPropertyTransformer, GUITransformerComponent

Nested Class Summary
static class Transformer.FQPropertyNames
          Deprecated. Not for public use.
static class Transformer.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
 IAttributeValue<Boolean> complain
          Deprecated. Not for public use.
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 
Constructor Summary
Transformer()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
abstract  rs.sol.soloist.client.common.info.ComponentInfo createInfo()
          Creates and returns an empty serializable object of the appropriate ComponentInfo sub-class.
abstract  void fillInfo(rs.sol.soloist.client.common.info.ComponentInfo info)
          Fills-in already created ComponentInfo object with values of properties of this object.
abstract  rs.sol.soloist.server.uml.concepts.IElement transform(rs.sol.soloist.server.uml.concepts.IElement el)
           
static rs.sol.soloist.server.uml.concepts.IElement transform(Transformer transformer, rs.sol.soloist.server.uml.concepts.IElement el)
          Transforms the given element based on the given transformer.
 
Methods inherited from class rs.sol.soloist.server.builtindomains.common.ObjectOfClass
handle
 
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString
 
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted
 
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance
conformsTo, copySlots, copySlots, destructor, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement
getMElement
 
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement
isKindOf, isModelElement, isRTElement
 

Field Detail

complain

@Deprecated
public IAttributeValue<Boolean> complain
Deprecated. Not for public use.

FQ_TYPE_NAME

public static final java.lang.String FQ_TYPE_NAME
Fully qualified UML class name

See Also:
Constant Field Values

CLASSIFIER

public static final IClass CLASSIFIER
UML class reference

Constructor Detail

Transformer

public Transformer()
Method Detail

constructor

public void constructor()
Description copied from interface: IClassifierInstance
The domain-specific constructor of the Classifier.

Specified by:
constructor in interface IClassifierInstance
Overrides:
constructor in class rs.sol.soloist.server.builtindomains.common.ObjectOfClass

transform

public abstract rs.sol.soloist.server.uml.concepts.IElement transform(rs.sol.soloist.server.uml.concepts.IElement el)
Specified by:
transform in interface rs.sol.soloist.server.server.ITransformer

createInfo

public abstract rs.sol.soloist.client.common.info.ComponentInfo createInfo()
Creates and returns an empty serializable object of the appropriate ComponentInfo sub-class. The returned object must be able to transmit every property of objects of this class from server to clients (browsers).

Returns:
a ComponentInfo sub-class instance

fillInfo

public abstract void fillInfo(rs.sol.soloist.client.common.info.ComponentInfo info)
Fills-in already created ComponentInfo object with values of properties of this object.

Parameters:
info - a ComponentInfo sub-class object to be filled-in

transform

public static rs.sol.soloist.server.uml.concepts.IElement transform(Transformer transformer,
                                                                    rs.sol.soloist.server.uml.concepts.IElement el)
Transforms the given element based on the given transformer.

Parameters:
transformer - the transformer to be used in transformation
el - the element to be transformed
Returns:
the resulting transformation element