Package nl.bimbase.bimworks.client
Class BimQuery
java.lang.Object
nl.bimbase.bimworks.client.BimQuery
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BimQuery
static final com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAttribute
(String attributeName, nl.bimbase.bimworks.common.client.Operator operator, com.fasterxml.jackson.databind.JsonNode value) addBuildingStorey
(BuildingStoreyQuery buildingStorey) addBuildingStoreyLevel
(int level, nl.bimbase.bimworks.common.client.Operator operator) addBuildingStoreyLevel
(BuildingStoreyLevelQuery buildingStoreyLevelQuery) void
addBuildingStoreyQid
(nl.bimbase.bimworks.common.simplebim.Qid qid) addCalculated
(CalculatedQuery calculatedQuery) addClassification
(String classification) void
addDiscipline
(nl.bimbase.bimworks.common.actions.Discipline discipline) addFeature
(String feature) void
addGrouping
(String group) addMaterialName
(String materialName) void
addModelInfo
(String fieldName, String value) addProperty
(String propertySetName, String propertyName) addProperty
(String propertySetName, String propertyName, nl.bimbase.bimworks.common.client.Operator operator, boolean value) addProperty
(String propertySetName, String propertyName, nl.bimbase.bimworks.common.client.Operator operator, com.fasterxml.jackson.databind.JsonNode value) addProperty
(String propertySetName, String propertyName, nl.bimbase.bimworks.common.client.Operator operator, String value) void
addPropertySet
(String propertySetName) addQid
(nl.bimbase.bimworks.common.simplebim.Qid qid) addQuantity
(QuantityValueQuery quantityValueQuery) addTypeAttribute
(String attributeName, nl.bimbase.bimworks.common.client.Operator operator, com.fasterxml.jackson.databind.JsonNode value) copy()
Set
<nl.bimbase.bimworks.common.simplebim.Qid> Set
<nl.bimbase.bimworks.common.actions.Discipline> getGuids()
Set
<nl.bimbase.bimworks.common.simplebim.Qid> getQids()
getTypes()
int
getZones()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasGuids()
boolean
boolean
boolean
boolean
hasQids()
boolean
boolean
boolean
hasTypes()
boolean
hasZones()
boolean
isEmpty()
boolean
isNegate()
static BimQuery
of
(com.fasterxml.jackson.databind.node.ObjectNode jsonNode) void
removeCalculated
(CalculatedQuery calculatedQuery) void
removeFields
(AttributeQuery fieldQuery) void
removeLayer
(String layer) void
removeMaterial
(String material) void
removeProperty
(PropertyQuery propertyQuery) void
removeQuantity
(QuantityValueQuery quantityQuery) void
removeTypeFields
(AttributeQuery fieldQuery) void
setBuildingStoreyLevels
(Set<BuildingStoreyLevelQuery> buildingStoreyLevels) void
setBuildingStoreyNames
(Set<String> buildingStoreyNames) void
setBuildingStoreyQids
(Set<nl.bimbase.bimworks.common.simplebim.Qid> buildingStoreyQids) void
setBuildingStoreys
(Set<BuildingStoreyQuery> buildingStoreys) void
setCalculated
(Set<CalculatedQuery> calculated) void
setClassifications
(Set<String> classifications) void
setDisciplines
(Set<nl.bimbase.bimworks.common.actions.Discipline> disciplines) void
setFeatures
(Set<String> features) void
setFields
(Map<String, AttributeQuery> fields) void
setGroupFeatures
(Set<String> groupFeatures) void
void
void
setMaterialNames
(Set<String> materialNames) void
setModelInfo
(Map<String, String> modelInfo) setNegate
(boolean negate) void
setProperties
(Map<String, Map<String, PropertyQuery>> properties) void
setPropertySets
(Set<String> propertySets) void
void
setQuantities
(Set<QuantityValueQuery> quantities) void
setTypeFields
(Map<String, AttributeQuery> typeFields) void
void
setVersion
(int version) void
com.fasterxml.jackson.databind.node.ObjectNode
toJson()
toString()
-
Field Details
-
ALL
-
OBJECT_MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
-
-
Constructor Details
-
BimQuery
public BimQuery()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
addType
-
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson() -
addProperty
-
addProperty
-
addProperty
-
of
public static BimQuery of(com.fasterxml.jackson.databind.node.ObjectNode jsonNode) throws UnsupportedBimQueryVersion, BimQueryValidationException -
addFeature
-
addBuildingStorey
-
addGrouping
-
addBuildingStoreyQid
public void addBuildingStoreyQid(nl.bimbase.bimworks.common.simplebim.Qid qid) -
addModelInfo
-
addGuid
-
addLayer
-
addDiscipline
public void addDiscipline(nl.bimbase.bimworks.common.actions.Discipline discipline) -
toString
-
addQid
-
addAttribute
-
addTypeAttribute
-
addField
-
addField
-
addField
public void addField(String fieldName, nl.bimbase.bimworks.common.client.Operator operator, double value) -
addProperty
-
addCalculated
-
getDisciplines
-
addClassification
-
addMaterialName
-
addQuantity
-
addPropertySet
-
addZone
-
addGroup
-
getBuildingStoreyQids
-
setBuildingStoreyQids
-
getTypes
-
getGuids
-
getMaterialNames
-
getLayers
-
getZones
-
getGroups
-
getProperties
-
getPropertiesQueries
-
getAttributes
-
getTypeFields
-
getCalculated
-
getClassifications
-
getBuildingStoreyNames
-
getQuantities
-
hasQids
public boolean hasQids() -
hasTypes
public boolean hasTypes() -
hasBuildingStoreyNames
public boolean hasBuildingStoreyNames() -
hasBuildingStoreyQids
public boolean hasBuildingStoreyQids() -
hasBuildingStoreyLevels
public boolean hasBuildingStoreyLevels() -
hasMaterialNames
public boolean hasMaterialNames() -
hasLayers
public boolean hasLayers() -
hasZones
public boolean hasZones() -
hasGroups
public boolean hasGroups() -
hasClassifications
public boolean hasClassifications() -
getQids
-
hasCalculated
public boolean hasCalculated() -
hasGuids
public boolean hasGuids() -
hasAttributes
public boolean hasAttributes() -
hasTypeFields
public boolean hasTypeFields() -
hasProperties
public boolean hasProperties() -
hasQuantities
public boolean hasQuantities() -
hasAggregations
public boolean hasAggregations() -
getGroupFeatures
-
setGroupFeatures
-
addBuildingStoreyLevel
-
addBuildingStoreyLevel
public BimQuery addBuildingStoreyLevel(int level, nl.bimbase.bimworks.common.client.Operator operator) -
getBuildingStoreyLevels
-
getVersion
public int getVersion() -
setVersion
public void setVersion(int version) -
hasBuildingStoreys
public boolean hasBuildingStoreys() -
getBuildingStoreys
-
hasConditions
public boolean hasConditions() -
copy
-
setCalculated
-
setTypes
-
setBuildingStoreyLevels
-
setBuildingStoreyNames
-
setClassifications
-
setDisciplines
-
setLayers
-
setMaterialNames
-
setGuids
-
setModelInfo
-
setBuildingStoreys
-
setPropertySets
-
setQids
-
setQuantities
-
setFields
-
setTypeFields
-
setZones
-
setProperties
-
removeProperty
-
removeFields
-
removeTypeFields
-
removeQuantity
-
removeCalculated
-
removeLayer
-
removeMaterial
-
isNegate
public boolean isNegate() -
setNegate
-
getFeatures
-
setFeatures
-