Package org.vast.swe
Class SWEBuilders.SweIdentifiableBuilder<B extends SWEBuilders.SweIdentifiableBuilder<B,T>,T extends AbstractSWEIdentifiable>  
java.lang.Object
org.vast.util.BaseBuilder<T>
org.vast.swe.SWEBuilders.SweIdentifiableBuilder<B,T> 
- Direct Known Subclasses:
 SMLBuilders.BaseObsPropBuilder,SMLMetadataBuilders.MetadataListBuilder,SWEBuilders.DataComponentBuilder
- Enclosing class:
 - SWEBuilders
 
public abstract static class SWEBuilders.SweIdentifiableBuilder<B extends SWEBuilders.SweIdentifiableBuilder<B,T>,T extends AbstractSWEIdentifiable>  
extends BaseBuilder<T>
- 
Field Summary
Fields inherited from class org.vast.util.BaseBuilder
instance - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the object configured by this builder.Copy all info from another componentdescription(String description) Sets the component human-readable descriptionSets the component IDSets the component human-readable labelAdds a visitor that will be called with the component after it is built 
- 
Constructor Details
- 
SweIdentifiableBuilder
protected SweIdentifiableBuilder() 
 - 
 - 
Method Details
- 
copyFrom
Copy all info from another component- Parameters:
 base- Component to copy from- Returns:
 - This builder for chaining
 
 - 
id
Sets the component ID- Parameters:
 id-- Returns:
 - This builder for chaining
 
 - 
label
Sets the component human-readable label- Parameters:
 label-- Returns:
 - This builder for chaining
 
 - 
description
Sets the component human-readable description- Parameters:
 description-- Returns:
 - This builder for chaining
 
 - 
visitor
Adds a visitor that will be called with the component after it is built- Parameters:
 visitor- Component visitor- Returns:
 - This builder for chaining
 
 - 
build
Description copied from class:BaseBuilderBuilds the object configured by this builder. This can only be called once.- Overrides:
 buildin classBaseBuilder<T extends AbstractSWEIdentifiable>- Returns:
 - The new object instance.
 
 
 -