|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance rs.sol.soloist.server.builtindomains.common.ObjectOfClass rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.Transformer rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.ToSlotValueTransformer
public class ToSlotValueTransformer
A handler that transforms an object provided by the owner
GUITransformerComponent
to the ClassifierInstance
on the object's slot (specified by calling setPropertyFQName(String)
method of this transformer or during construction of this transformer
using factory create(IProperty)
method).
If setDowncast(String)
is called, transformer will search the slot
for a ClassifierInstance of the class specified in that method.
Nested Class Summary | |
---|---|
static class |
ToSlotValueTransformer.FQPropertyNames
Deprecated. Not for public use. |
static class |
ToSlotValueTransformer.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
IAttributeValue<Text> |
donwcastToClassFQName
Deprecated. Not for public use. |
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 | |
---|---|
ToSlotValueTransformer()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static ToSlotValueTransformer |
create(IProperty property)
Returns new ToSlotValueTransformer that transforms the
elements over 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 |
getDowncast()
Returns the down-cast class FQ name. |
IClass |
getDownCastToClass()
Returns the down-cast class. |
java.lang.String |
getPropertyFQName()
Returns the property FQ name used for transformation. |
void |
setDowncast(java.lang.String classFQName)
Sets the down-cast class FQ name |
void |
setPropertyFQName(java.lang.String propertyFQName)
Sets the property FQ name 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 |
---|
@Deprecated public IAttributeValue<Text> propertyName
@Deprecated public IAttributeValue<Text> donwcastToClassFQName
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public ToSlotValueTransformer()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class Transformer
public rs.sol.soloist.server.uml.concepts.IElement transform(rs.sol.soloist.server.uml.concepts.IElement el)
transform
in interface rs.sol.soloist.server.server.ITransformer
transform
in class Transformer
public rs.sol.soloist.client.common.info.ComponentInfo createInfo()
Transformer
ComponentInfo
sub-class. The returned object must be able to
transmit every property of objects of this class from server to
clients (browsers).
createInfo
in class Transformer
ComponentInfo
sub-class instancepublic void fillInfo(rs.sol.soloist.client.common.info.ComponentInfo info)
Transformer
ComponentInfo
object with
values of properties of this object.
fillInfo
in class Transformer
info
- a ComponentInfo
sub-class object
to be filled-inpublic IClass getDownCastToClass()
public static ToSlotValueTransformer create(IProperty property)
ToSlotValueTransformer
that transforms the
elements over the given property.
property
- the property used for transformation
ToSlotValueTransformer
public java.lang.String getPropertyFQName()
setPropertyFQName(String)
public void setPropertyFQName(java.lang.String propertyFQName)
propertyFQName
- the property FQ name used for transformationpublic java.lang.String getDowncast()
setDowncast(String)
public void setDowncast(java.lang.String classFQName)
classFQName
- the down-cast class FQ name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |