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

net.ibizsys.model.engine.cloud.util.domain.DeploySystem Maven / Gradle / Ivy

The newest version!
package net.ibizsys.model.engine.cloud.util.domain;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import net.ibizsys.model.engine.util.EntityBase;
import net.ibizsys.model.util.DataTypeUtils;

/**
 * 服务总线部署系统数据对象
 * @author lionlau
 *
 */
public class DeploySystem extends EntityBase{

	/**
	 * 部署系统标识
	 */
	public final static String FIELD_DEPLOYSYSTEMID = "deploysystemid";

	@JsonIgnore
	public String getDeploySystemId() {
		Object objValue = this.get(FIELD_DEPLOYSYSTEMID);
		if (objValue == null) {
			return null;
		}
		return (String) objValue;
	}

	@JsonProperty(FIELD_DEPLOYSYSTEMID)
	public void setDeploySystemId(String value) {
		this.set(FIELD_DEPLOYSYSTEMID, value);
	}

	@JsonIgnore
	public boolean isDeploySystemIdDirty() {
		return this.contains(FIELD_DEPLOYSYSTEMID);
	}

	/**
	 * 模型路径
	 */
	public final static String FIELD_MODELPATH = "modelpath";

	@JsonIgnore
	public String getModelPath() {
		Object objValue = this.get(FIELD_MODELPATH);
		if (objValue == null) {
			return null;
		}
		return (String) objValue;
	}

	@JsonProperty(FIELD_MODELPATH)
	public void setModelPath(String value) {
		this.set(FIELD_MODELPATH, value);
	}

	@JsonIgnore
	public boolean isModelPathDirty() {
		return this.contains(FIELD_MODELPATH);
	}
	
	/**
	 *运行时对象类
	 */
	public final static String FIELD_RUNTIMECLASSNAME = "runtimeclassname";

	@JsonIgnore
	public String getRuntimeClassName() {
		Object objValue = this.get(FIELD_RUNTIMECLASSNAME);
		if (objValue == null) {
			return null;
		}
		return (String) objValue;
	}

	@JsonProperty(FIELD_RUNTIMECLASSNAME)
	public void setRuntimeClassName(String value) {
		this.set(FIELD_RUNTIMECLASSNAME, value);
	}

	@JsonIgnore
	public boolean isRuntimeClassNameDirty() {
		return this.contains(FIELD_RUNTIMECLASSNAME);
	}
	
	
	/**
	 * 配置
	 */
	public final static String FIELD_SETTINGS = "settings";

	@JsonIgnore
	public Map getSettings() {
		Object objValue = this.get(FIELD_SETTINGS);
		if (objValue == null) {
			return null;
		}
		return (Map) objValue;
	}

	@JsonProperty(FIELD_SETTINGS)
	public void setSettings(Map value) {
		this.set(FIELD_SETTINGS, value);
	}

	@JsonIgnore
	public boolean isSettingsDirty() {
		return this.contains(FIELD_SETTINGS);
	}
	
	
	/**
	 * 更新数据库模型: true : false
	 */
	public final static String FIELD_UPDATEDBSCHEMA = "updatedbschema";

	@JsonIgnore
	public String getUpdateDBSchema() {
		Object objValue = this.get(FIELD_UPDATEDBSCHEMA);
		if (objValue == null) {
			return null;
		}
		return DataTypeUtils.getStringValue(objValue, null);
	}

	@JsonProperty(FIELD_UPDATEDBSCHEMA)
	public void setUpdateDBSchema(Boolean value) {
		this.set(FIELD_UPDATEDBSCHEMA, value);
	}

	@JsonIgnore
	public boolean isUpdateDBSchemaDirty() {
		return this.contains(FIELD_UPDATEDBSCHEMA);
	}
	
	
	
	/**
	 * 支持重新加载模型: true : false
	 */
	public final static String FIELD_ENABLERELOAD = "enablereload";

	@JsonIgnore
	public String getEnableReload() {
		Object objValue = this.get(FIELD_ENABLERELOAD);
		if (objValue == null) {
			return null;
		}
		return DataTypeUtils.getStringValue(objValue, null);
	}

	@JsonProperty(FIELD_ENABLERELOAD)
	public void setEnableReload(Boolean value) {
		this.set(FIELD_ENABLERELOAD, value);
	}

	@JsonIgnore
	public boolean isEnableReloadDirty() {
		return this.contains(FIELD_ENABLERELOAD);
	}
	
	
	
//	/**
//	 * 启用的服务接口清单
//	 */
//	public final static String FIELD_APIS = "apis";
//
//	@JsonIgnore
//	public List getAPIs() {
//		Object objValue = this.get(FIELD_APIS);
//		if (objValue == null) {
//			return null;
//		}
//		return (List)objValue;
//	}
//
//	@JsonProperty(FIELD_APIS)
//	public void setAPIs(List value) {
//		this.set(FIELD_APIS, value);
//	}
//
//	@JsonIgnore
//	public boolean isAPIsDirty() {
//		return this.contains(FIELD_APIS);
//	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy