All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.wietmazairac.bimql.set.attribute.SetAttributeSubIfcRevolvedAreaSolid Maven / Gradle / Ivy

package nl.wietmazairac.bimql.set.attribute;

import org.bimserver.models.ifc2x3tc1.IfcRevolvedAreaSolid;

public class SetAttributeSubIfcRevolvedAreaSolid {
	// fields
	private Object object;
	private String attributeName;
	private String attributeNewValue;

	// constructors
	public SetAttributeSubIfcRevolvedAreaSolid() {
	}

	public SetAttributeSubIfcRevolvedAreaSolid(Object object, String attributeName, String attributeNewValue) {
		this.object = object;
		this.attributeName = attributeName;
		this.attributeNewValue = attributeNewValue;
	}

	// methods
	public Object getObject() {
		return object;
	}

	public void setObject(Object object) {
		this.object = object;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getAttributeNewValue() {
		return attributeNewValue;
	}

	public void setAttributeNewValue(String attributeNewValue) {
		this.attributeNewValue = attributeNewValue;
	}

	public void setAttribute() {
		if (attributeName.equals("Axis")) {
			//1NoEList
			 //1void
			 //1IfcAxis1Placement
		}
		else if (attributeName.equals("Angle")) {
			//1NoEList
			((IfcRevolvedAreaSolid) object).setAngle(Double.parseDouble(attributeNewValue));
			 //1void
			 //1double
		}
		else if (attributeName.equals("AngleAsString")) {
			//1NoEList
			((IfcRevolvedAreaSolid) object).setAngleAsString(attributeNewValue);
			 //1void
			 //1String
		}
		else if (attributeName.equals("SweptArea")) {
			//2NoEList
			 //2void
			 //2IfcProfileDef
		}
		else if (attributeName.equals("Position")) {
			//2NoEList
			 //2void
			 //2IfcAxis2Placement3D
		}
		else if (attributeName.equals("Dim")) {
			//5NoEList
			 //5void
			 //5int
		}
		else {
		}
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy