public class TLcdShapeDataTypes extends Object
data type
for objects that implement ILcdShape
or one of its subtypes.
The shapes are assumed to be defined in your model reference
.
The data type
is considered primitive
and
will have an instance class
that is ILcdShape
.
You can create a more specific data type as follows:
dataModelBuilder.typeBuilder("Point").superType(TLcdShapeDataTypes.SHAPE_TYPE).primitive(true).instanceClass(ILcdPoint.class);
If your domain object does not implement ILcdShape
but instead delegates to one, add a
TLcdHasGeometryAnnotation
to your domain object's data type
to point to the ILcdShape
property.Modifier and Type | Field and Description |
---|---|
static TLcdDataModel |
DATAMODEL |
static TLcdDataType |
SHAPE_TYPE
Data type for
ILcdShape objects. |
public static final TLcdDataModel DATAMODEL
public static final TLcdDataType SHAPE_TYPE
ILcdShape
objects.