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

org.freedesktop.dbus.viewer.DBusEntry Maven / Gradle / Ivy

Go to download

Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).

There is a newer version: 3.3.2
Show newest version
/*
   D-Bus Java Viewer
   Copyright (c) 2006 Peter Cox

   This program is free software; you can redistribute it and/or modify it
   under the terms of either the GNU Lesser General Public License Version 2 or the
   Academic Free Licence Version 2.1.

   Full licence texts are included in the COPYING file with this program.
*/
package org.freedesktop.dbus.viewer;

import org.freedesktop.DBus.Introspectable;
import org.freedesktop.dbus.UInt32;

/** A summary class for a dbus entry for use in a table model
 *
 * @author pete
 * @since 10/02/2006
 */
public class DBusEntry {
    private String         name;

    private String         path;

    private UInt32         user;

    private String         owner;

    private Introspectable introspectable;

    /** Assign the name
     *
     * @param _name The name.
     */
    public void setName(String _name) {
        this.name = _name;
    }

    /** Retrieve the name
     *
     * @return The name.
     */
    public String getName() {
        return name;
    }

    /** Assign the user
     *
     * @param _user The user.
     */
    public void setUser(UInt32 _user) {
        this.user = _user;
    }

    /** Retrieve the user
     *
     * @return The user.
     */
    public UInt32 getUser() {
        return user;
    }

    /** Assign the owner
     *
     * @param _owner The owner.
     */
    public void setOwner(String _owner) {
        this.owner = _owner;
    }

    /** Retrieve the owner
     *
     * @return The owner.
     */
    public String getOwner() {
        return owner;
    }

    /** Assign the introspectable
     *
     * @param _introspectable The introspectable.
     */
    public void setIntrospectable(Introspectable _introspectable) {
        this.introspectable = _introspectable;
    }

    /** Retrieve the introspectable
     *
     * @return The introspectable.
     */
    public Introspectable getIntrospectable() {
        return introspectable;
    }

    /**
     * retrieve the path parameter
     *
     * @return
     */
    public String getPath() {
        return path;
    }

    /**
     * set the path parameter
     *
     * @param _path
     */
    public void setPath(String _path) {
        this.path = _path;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy