1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
/*
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;
}
}
|