Class AbstractCoercionStrategy
- java.lang.Object
-
- org.eclipse.epsilon.hutn.xmi.coerce.AbstractCoercionStrategy
-
- Direct Known Subclasses:
PrimitiveCoercionStrategy
,ReferenceCoercionStrategy
public abstract class AbstractCoercionStrategy extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeSlot
slot
protected org.eclipse.emf.common.util.EList<java.lang.String>
values
-
Constructor Summary
Constructors Constructor Description AbstractCoercionStrategy(AttributeSlot slot)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Slot<?>
coerce()
static AbstractCoercionStrategy
getCoercerFor(AttributeSlot slot)
abstract boolean
isApplicable()
-
-
-
Field Detail
-
slot
protected final AttributeSlot slot
-
values
protected final org.eclipse.emf.common.util.EList<java.lang.String> values
-
-
Constructor Detail
-
AbstractCoercionStrategy
public AbstractCoercionStrategy(AttributeSlot slot)
-
-
Method Detail
-
isApplicable
public abstract boolean isApplicable()
-
coerce
public abstract Slot<?> coerce()
-
getCoercerFor
public static AbstractCoercionStrategy getCoercerFor(AttributeSlot slot)
-
-