Package org.vast.swe
Class SWEBuilders.DataComponentBuilder<B extends SWEBuilders.DataComponentBuilder<B,T>,T extends DataComponent>
java.lang.Object
org.vast.util.BaseBuilder<T>
org.vast.swe.SWEBuilders.SweIdentifiableBuilder<B,T>
org.vast.swe.SWEBuilders.DataComponentBuilder<B,T>
- Direct Known Subclasses:
SWEBuilders.BaseDataArrayBuilder
,SWEBuilders.BaseDataChoiceBuilder
,SWEBuilders.BaseDataRecordBuilder
,SWEBuilders.BaseGeomBuilder
,SWEBuilders.BaseMatrixBuilder
,SWEBuilders.BaseVectorBuilder
,SWEBuilders.SimpleComponentBuilder
- Enclosing class:
- SWEBuilders
public abstract static class SWEBuilders.DataComponentBuilder<B extends SWEBuilders.DataComponentBuilder<B,T>,T extends DataComponent>
extends SWEBuilders.SweIdentifiableBuilder<B,T>
-
Field Summary
Fields inherited from class org.vast.util.BaseBuilder
instance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyFrom
(DataComponent base) Copy all info from another componentdefinition
(String uri) Sets the component definition URISets the component name (usually only at the top level)optional
(boolean optional) Sets the component optional flagupdatable
(boolean updatable) Sets the component updatable flagMethods inherited from class org.vast.swe.SWEBuilders.SweIdentifiableBuilder
build, copyFrom, description, id, label, visitor
-
Constructor Details
-
DataComponentBuilder
-
-
Method Details
-
from
-
copyFrom
Copy all info from another component- Parameters:
base
- Component to copy from- Returns:
- This builder for chaining
-
name
Sets the component name (usually only at the top level)- Parameters:
name
-- Returns:
- This builder for chaining
-
definition
Sets the component definition URI- Parameters:
uri
- URI of definition (usually resolvable to the actual definition of observable or concept)- Returns:
- This builder for chaining
-
optional
Sets the component optional flag- Parameters:
optional
-- Returns:
- This builder for chaining
-
updatable
Sets the component updatable flag- Parameters:
updatable
-- Returns:
- This builder for chaining
-