public class DRShape extends Object implements DRShapeDescriptor
Guarded.EnsureThat, Guarded.New| Constructor and Description |
|---|
DRShape(ShapeData shapeData,
DRShapeGenerator generator) |
| Modifier and Type | Method and Description |
|---|---|
DescriptorGenerator<DRShapeDescriptor> |
getDescriptorGenerator()
Deprecated.
|
Object |
getGuardObject()
Gets the guard object associated to the generated descriptors/utilities.
|
ShapeData |
getShapeData() |
byte[] |
toByteArray() |
public DRShape(ShapeData shapeData, DRShapeGenerator generator)
public byte[] toByteArray()
toByteArray in interface ShapeDescriptorpublic DescriptorGenerator<DRShapeDescriptor> getDescriptorGenerator()
ShapeDescriptorgetDescriptorGenerator in interface DRShapeDescriptorgetDescriptorGenerator in interface ShapeDescriptorpublic ShapeData getShapeData()
getShapeData in interface ShapeDescriptorpublic Object getGuardObject()
GuardedThis method is intended to use only for ensuring the compatibility of manipulated objects.
Implementations might use the associated DescriptorGenerator or DescriptorParameters reference as
the guard object, however it is a non recommended practice to use this method to access the associated generator
to perform further operations on it.
getGuardObject in interface Guardednull.