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

cn.mapway.document.ui.client.module.ObjectInfo Maven / Gradle / Ivy

There is a newer version: 2.3.0
Show newest version
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;
  }-*/;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy