Modifier and Type | Method and Description |
---|---|
Optional<Classification> |
getClassification(String name)
Returns the first
Classification found with the given name, if there is any loaded in this model. |
Collection<Classification> |
getClassifications()
Returns all the classifications loaded in this model.
|
Optional<Component> |
getComponentByBatId(String batId)
Gets the component by BIM Authoring Tool ID.
|
Optional<Component> |
getComponentByGuid(String guid)
Gets the component with the given IFC GUID.
|
Set<Component> |
getComponents(ComponentFilter filter)
Returns components accepted by given
filter . |
<T extends Component> |
getComponents(ComponentFilter filter,
Class<T> type)
Returns components accepted by given
filter that are also of the specified type. |
Map<String,String> |
getMetadata()
Returns the metadata of the model as key to value map.
|
String |
getName()
Returns the name of the model.
|
Optional<Model> |
getSubModel(UUID uuid)
Gets a sub-model with the given UUID.
|
UUID |
getUUID()
Returns unique identifier of the model.
|
Optional<Component> getComponentByGuid(String guid)
guid
- the component IFC GUIDOptional<Component> getComponentByBatId(String batId)
batId
- the idOptional<Model> getSubModel(UUID uuid)
uuid
- the model UUIDSet<Component> getComponents(ComponentFilter filter)
filter
.filter
- a ComponentFilter
Component
passing given filter<T extends Component> Set<T> getComponents(ComponentFilter filter, Class<T> type)
filter
that are also of the specified type.T
- the type of the componentfilter
- a ComponentFilter
type
- the class type of the components to retrieve from the modelComponent
passing given filterUUID getUUID()
String getName()
Map<String,String> getMetadata()
Collection<Classification> getClassifications()
Classification
s loaded in this modelOptional<Classification> getClassification(String name)
Classification
found with the given name, if there is any loaded in this model.
If there are multiple classifications with the same name, this method returns the first found.name
- the given nameClassification
found with the given name, empty Optional
if not foundCopyright © 2019 Solibri, Inc.. All rights reserved.