/** * Licensed to the Austrian Association for Software Tool Integration (AASTI) * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. The AASTI licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.openengsb.core.ekb.common.models; import org.openengsb.core.api.model.annotation.Model; import org.openengsb.core.api.model.annotation.OpenEngSBModelId; @Model public class PrimitivePropertiesModel { @OpenEngSBModelId private String id; private boolean booleanByGet; private boolean booleanByIs; private short primitiveShort; private int primitiveInt; private long primitiveLong; private double primitiveDouble; private float primitiveFloat; private char primitiveChar; public String getId() { return id; } public void setId(String id) { this.id = id; } public boolean getBooleanByGet() { return booleanByGet; } public void setBooleanByGet(boolean booleanByGet) { this.booleanByGet = booleanByGet; } public boolean isBooleanByIs() { return booleanByIs; } public void setBooleanByIs(boolean booleanByIs) { this.booleanByIs = booleanByIs; } public short getPrimitiveShort() { return primitiveShort; } public void setPrimitiveShort(short primitiveShort) { this.primitiveShort = primitiveShort; } public int getPrimitiveInt() { return primitiveInt; } public void setPrimitiveInt(int primitiveInt) { this.primitiveInt = primitiveInt; } public long getPrimitiveLong() { return primitiveLong; } public void setPrimitiveLong(long primitiveLong) { this.primitiveLong = primitiveLong; } public double getPrimitiveDouble() { return primitiveDouble; } public void setPrimitiveDouble(double primitiveDouble) { this.primitiveDouble = primitiveDouble; } public float getPrimitiveFloat() { return primitiveFloat; } public void setPrimitiveFloat(float primitiveFloat) { this.primitiveFloat = primitiveFloat; } public char getPrimitiveChar() { return primitiveChar; } public void setPrimitiveChar(char primitiveChar) { this.primitiveChar = primitiveChar; } }