
za.co.mip.ablduck.models.SourceJSObject Maven / Gradle / Ivy
/**
* Copyright 2017-2018 MIP Holdings
*
* Licensed 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 za.co.mip.ablduck.models;
import java.util.List;
import java.util.ArrayList;
import com.google.gson.annotations.SerializedName;
import eu.rssw.rcode.Using;
import za.co.mip.ablduck.models.generic.MetaObject;
import za.co.mip.ablduck.models.source.MemberObject;
import com.google.gson.annotations.Expose;
public class SourceJSObject {
// Not used need to remove dep in web app
@Expose
List mixedInto = new ArrayList<>();
@Expose
List parentMixins = new ArrayList<>();
@Expose
List files = new ArrayList<>();
@Expose
List alternateClassNames = new ArrayList<>();
@Expose
List mixins = new ArrayList<>();
@Expose
List requires = new ArrayList<>();
@Expose
List uses = new ArrayList<>();
@Expose
Object aliases = new Object();
// Actual js object properties
@Expose
public String id = "";
@Expose
public String tagname = "";
@Expose
public String name = "";
// extends is a reserved word
@Expose
@SerializedName("extends")
public String ext = "";
@Expose
public String author = "";
@Expose
public String shortDoc = "";
@Expose
public String html = "";
@Expose
public String classIcon = "";
@Expose
public List members = new ArrayList<>();
@Expose
public List superclasses = new ArrayList<>();
@Expose
public List subclasses = new ArrayList<>();
@Expose
public MetaObject meta = new MetaObject();
// Internal Use
@Expose(serialize = false)
public String comment = "";
@Expose(serialize = false)
public String shortname = "";
@Expose(serialize = false)
public boolean isInterface = false;
@Expose(serialize = false)
public List interfaces = new ArrayList<>();
@Expose(serialize = false)
public List implementers = new ArrayList<>();
@Expose(serialize = false)
public List using = new ArrayList<>();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy