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

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
                      extended by rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.ToSlotTransformer
All Implemented Interfaces:
rs.sol.soloist.server.server.ITransformer, rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

public class ToSlotTransformer
extends Transformer

A handler that transforms an object provided by the owner GUITransformerComponent to the ISlot that correspond to the property specified either by setPropertyFQName(String) method or during construction of this object using create(IProperty) method.

Author:
SOL Expert Group

Nested Class Summary
static class ToSlotTransformer.FQPropertyNames
          Deprecated. Not for public use.
static class ToSlotTransformer.PROPERTIES
          Deprecated. Not for public use.
 
Field Summary
static IClass CLASSIFIER
          UML class reference
static java.lang.String FQ_TYPE_NAME
          Fully qualified UML class name
 IAttributeValue<Text> propertyName
          Deprecated. Not for public use.
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.Transformer
complain
 
Constructor Summary
ToSlotTransformer()
           
 
Method Summary
 void constructor()
          The domain-specific constructor of the Classifier.
static ToSlotTransformer create(IProperty property)
          Creates new ToSlotTransformer object with the given property.
 rs.sol.soloist.client.common.info.ComponentInfo createInfo()
          Creates and returns an empty serializable object of the appropriate ComponentInfo sub-class.
 void fillInfo(rs.sol.soloist.client.common.info.ComponentInfo info)
          Fills-in already created ComponentInfo object with values of properties of this object.
 java.lang.String getPropertyFQName()
          Returns the property to be used for transformation.
 void setPropertyFQName(java.lang.String propertyFQName)
          Sets the property to be used for transformation.
 rs.sol.soloist.server.uml.concepts.IElement transform(rs.sol.soloist.server.uml.concepts.IElement el)
           
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.Transformer
transform
 
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

propertyName

@Deprecated
public IAttributeValue<Text> propertyName
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

ToSlotTransformer

public ToSlotTransformer()
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 Transformer

transform

public 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
Specified by:
transform in class Transformer

createInfo

public rs.sol.soloist.client.common.info.ComponentInfo createInfo()
Description copied from class: Transformer
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).

Specified by:
createInfo in class Transformer
Returns:
a ComponentInfo sub-class instance

fillInfo

public void fillInfo(rs.sol.soloist.client.common.info.ComponentInfo info)
Description copied from class: Transformer
Fills-in already created ComponentInfo object with values of properties of this object.

Specified by:
fillInfo in class Transformer
Parameters:
info - a ComponentInfo sub-class object to be filled-in

create

public static ToSlotTransformer create(IProperty property)
Creates new ToSlotTransformer object with the given property.

Parameters:
property - the property to be used when transforming
Returns:
the new ToSlotTransformer

getPropertyFQName

public java.lang.String getPropertyFQName()
Returns the property to be used for transformation.

Returns:
the property to be used for transformation
See Also:
setPropertyFQName(String)

setPropertyFQName

public void setPropertyFQName(java.lang.String propertyFQName)
Sets the property to be used for transformation.

Parameters:
propertyFQName - the property to be used for transformation