1 25 26 29 package net.killingar.forum.internal; 30 31 public class Group extends NamedItemImpl implements OwnerIDItem 32 { 33 public long ownerID = -1, access; 34 public String type; 35 36 public Group(long _ID, long _ownerID, long _access, String _name, String _type) 37 { 38 super(_ID, _name); 39 40 ID = _ID; 41 ownerID = _ownerID; 42 access = _access; 43 name = _name; 44 type = _type; 45 } 46 47 public Group(String _name, long _access, String _type) 48 { 49 super(-1, _name); 50 51 type = _type; 52 access = _access; 53 } 54 55 public long getOwnerID() { return ownerID; } 56 public long getAccess() { return access; } 57 public String getType() { return type; } 58 59 public String toString() { return "{"+getId()+" "+name+" "+type+"}"; } 60 } | Popular Tags |