Package org.ivoa.dm.adqlgeom
Class MultiShape
java.lang.Object
org.ivoa.dm.adqlgeom.MultiShape
- All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations
@Embeddable
@VoDml(id="adqlgeom:MultiShape",
role=dataType)
public class MultiShape
extends Object
implements org.ivoa.vodml.jpa.JPAManipulations
multiple simple shapes describing regions as a single value.
dataType: MultiShape
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for MultiShape, mainly for use in the functional builder pattern. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new MultiShapeMultiShape(List<Shape> shapes) full parameter constructor.MultiShape(MultiShape other) Copy Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiShapecreate a MultiShape in functional builder style.voidReturns shapes Attribute.voidSet shapes Attribute.voidupdateUsing(MultiShape other) Update this object with the content of the given object.withShapes(List<Shape> pShapes) fluent setter for shapes Attribute.
-
Field Details
-
Constructor Details
-
MultiShape
public MultiShape()Creates a new MultiShape -
MultiShape
full parameter constructor.- Parameters:
shapes- .
-
MultiShape
Copy Constructor. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
-
Method Details
-
updateUsing
Update this object with the content of the given object. Note that references will remain as is rather than be copied.- Parameters:
other- the object to be copied.
-
getShapes
Returns shapes Attribute.- Returns:
- shapes Attribute
-
setShapes
Set shapes Attribute.- Parameters:
pShapes- value to set
-
withShapes
fluent setter for shapes Attribute.- Parameters:
pShapes- value to set- Returns:
- MultiShape
-
createMultiShape
create a MultiShape in functional builder style.- Parameters:
f- the functional builder.- Returns:
- an object initialized from the builder.
-
forceLoad
public void forceLoad()- Specified by:
forceLoadin interfaceorg.ivoa.vodml.jpa.JPAManipulations
-