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

com.versionone.om.listvalue.ListValue Maven / Gradle / Ivy

Go to download

A strongly-typed object model library on top of the VersionOne SDK.Java API Client library.

The newest version!
/*(c) Copyright 2008, VersionOne, Inc. All rights reserved. (c)*/
package com.versionone.om.listvalue;

import com.versionone.om.AssetID;
import com.versionone.om.Entity;
import com.versionone.om.V1Instance;

/**
 * Represents a List Type Asset.
 */
public abstract class ListValue extends Entity {

    protected ListValue(V1Instance instance) {
        super(instance);
    }

    protected ListValue(AssetID id, V1Instance instance) {
        super(id, instance);
    }

    /**
     * @return The Name.
     */
    public String getName() {
        return (String) get(NAME_VALUE);
    }

    /**
     * @return The (optional) Description.
     */
    public String getDescription() {
        return (String) get(DESCRIPTION_VALUE);
    }

    /**
     * @return Return name of ListValue.
     */
    @Override
    public String toString() {
        return getName();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy