[Snmap-developer] SNMAP/src/net/sf/snmap/mapping Property.java,1.2,1.3
Status: Planning
Brought to you by:
arden
|
From: arden l. <ar...@us...> - 2006-01-13 03:22:57
|
Update of /cvsroot/snmap/SNMAP/src/net/sf/snmap/mapping In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7540/src/net/sf/snmap/mapping Modified Files: Property.java Log Message: Index: Property.java =================================================================== RCS file: /cvsroot/snmap/SNMAP/src/net/sf/snmap/mapping/Property.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Property.java 5 Jan 2006 03:58:09 -0000 1.2 --- Property.java 13 Jan 2006 03:22:46 -0000 1.3 *************** *** 5,10 **** import org.snmp4j.smi.OID; - import net.sf.snmap.mib.Access; - public class Property implements Serializable { --- 5,8 ---- *************** *** 12,20 **** private String name; - private OID oid; - private Access access; - - // TODO: from hibernate. private PersistentClass persistentClass; public String getName() --- 10,18 ---- private String name; private PersistentClass persistentClass; + private Value value; + + // TODO : I have not used oid. + private OID oid; public String getName() *************** *** 28,59 **** } ! public OID getOid() ! { ! return oid; } ! public void setOid( OID oid ) ! { ! this.oid = oid; } ! public Access getAccess() { ! return access; } ! public void setAccess( Access access ) { ! this.access = access; } - ! // TODO : From hibernate. ! public PersistentClass getPersistentClass() { ! return persistentClass; } ! public void setPersistentClass(PersistentClass persistentClass) { ! this.persistentClass = persistentClass; } } --- 26,56 ---- } ! public PersistentClass getPersistentClass() { ! return persistentClass; } ! public void setPersistentClass(PersistentClass persistentClass) { ! this.persistentClass = persistentClass; } ! public Value getValue() { ! return value; } ! public void setValue( Value value ) { ! this.value = value; } ! ! public OID getOid() ! { ! return oid; } ! public void setOid( OID oid ) ! { ! this.oid = oid; } } |