Modifier and Type | Method and Description |
---|---|
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()
Copyright © 2019 Solibri, Inc.. All rights reserved.