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

org.dc.riot.lol.rx.model.staticdata.MetaDataDto Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package org.dc.riot.lol.rx.model.staticdata;

/**
 * This object contains meta data.
 * 
 * @author Dc
 * @since 1.0.0
 */
public class MetaDataDto {
	private static long COUNT = 0;
	public static long getInstanceCount() {
		return COUNT;
	}

    private Boolean isRune;
    private String tier;
    private String type;
    
    public MetaDataDto() {
    	COUNT++;
    }

    /**
     * @return Is rune or false if not defined.
     */
    public boolean isRune() {
    	if (isRune == null) {
    		return false;
    	}

        return isRune.booleanValue();
    }

    /**
     * @return Item tier.
     */
    public String getTier() {
        return tier;
    }

    /**
     * @return Type.
     */
    public String getType() {
        return type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy