cn.mapway.document.ui.client.module.ObjectInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapway-doc-ui Show documentation
Show all versions of mapway-doc-ui Show documentation
auto gen doc from api with ui
package cn.mapway.document.ui.client.module;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import cn.mapway.document.ui.client.main.FieldCode;
/**
* The Class ObjectInfo.
*/
/*
* 类对象信息
*/
public class ObjectInfo extends JavaScriptObject {
/**
* Instantiates a new object info.
*/
protected ObjectInfo() {}
/**
* Name.
*
* @return the string
*/
public final native String name()/*-{
return this.name;
}-*/;
/**
* Type.
*
* @return the string
*/
public final native String type()/*-{
return this.type;
}-*/;
/**
* Summary.
*
* @return the string
*/
public final native String summary()/*-{
return this.summary;
}-*/;
/**
* Title.
*
* @return the string
*/
public final native String title()/*-{
return this.title;
}-*/;
/**
* Example.
*
* @return the string
*/
public final native String example()/*-{
return this.example;
}-*/;
/**
* Manditary.
*
* @return true, if successful
*/
public final native boolean manditary()/*-{
return this.manditary;
}-*/;
/**
* Length.
*
* @return the int
*/
public final native int minLength()/*-{
return this.minLength;
}-*/;
/**
* MaxLength.
*
* @return the int
*/
public final native int maxLength()/*-{
return this.maxLength;
}-*/;
/**
* Length.
*
* @return the int
*/
public final native Double min()/*-{
return this.min;
}-*/;
/**
* MaxLength.
*
* @return the int
*/
public final native Double max()/*-{
return this.max;
}-*/;
/**
* Fields.
*
* @return the js array
*/
public final native JsArray fields()/*-{
return this.fields || [];
}-*/;
/**
* Fields.
*
* @return the js array
*/
public final native JsArray refs()/*-{
return this.refs || [];
}-*/;
/**
* Json.
*
* @return the string
*/
public final native String json() /*-{
return this.json;
}-*/;
/**
* Codes js array.
*
* @return the js array
*/
public final native JsArray codes()/*-{
return this.codes;
}-*/;
/**
* Title.
*
* @param string the string
*/
public final native void title(String string) /*-{
return this.title = string;
}-*/;
}