org.freedesktop.dbus.viewer.DBusEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dbus-java Show documentation
Show all versions of dbus-java Show documentation
Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).
/*
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 path
*/
public String getPath() {
return path;
}
/**
* set the path parameter
*
* @param _path path
*/
public void setPath(String _path) {
this.path = _path;
}
}