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

com.zvoykish.restdl.objects.GenericDeclarationObject Maven / Gradle / Ivy

The newest version!
package com.zvoykish.restdl.objects;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: Zvoykish
 * Date: 1/11/14
 * Time: 21:55
 */
@SuppressWarnings("UnusedDeclaration")
public class GenericDeclarationObject extends BaseTypedObject {
    private String className;

    protected GenericDeclarationObject() {
    }

    public GenericDeclarationObject(String className) {
        this.className = className;
    }

    @Override
    public String getType() {
        return TypedObjectType.GenericDeclaration.name();
    }

    @Override
    public void referenceFields(Map typesById) {
        // Nothing to do on such objects...
    }

    @Override
    public void unReferenceFields(Map typesById) {
        // Nothing to do on such objects...
    }

    @Override
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return "GenericDeclarationObject{" +
                "className='" + className + '\'' +
                "} " + super.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy