objectproperty.java

来自「创建中间企业对象层」· Java 代码 · 共 25 行

JAVA
25
字号

package com.eshaper.appbuilder.objectbase.property;

public class ObjectProperty
{
	public ObjectProperty() {}

	public String getName()       		{return name;}
	public String getType()       		{return type;}
	public int    getLength()     		{return length;}
	public String getRefer()      		{return refer;}
	public String getReferProperty() 	{return referproperty;}

	public void setName(String value)       	{if (value!=null) name=value;}
	public void setType(String value)       	{if (value!=null) type=value;}
	public void setLength(int value)        	{if (value>0) length=value;}	
	public void setRefer(String value)      	{if (value!=null) refer=value;}
	public void setReferProperty(String value) 	{if (value!=null) referproperty=value;}

	private String name=null;
	private String type=null;
	private int    length=0;
	private String refer=null;
	private String referproperty=null;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?