- Timestamp:
- Feb 9, 2011, 10:53:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/fmgVen/test/com/fmguler/ven/sample/domain/SomeDomainObject.java
r26 r28 18 18 package com.fmguler.ven.sample.domain; 19 19 20 import com.fmguler.ven.util.VenList; 20 21 import java.util.Date; 22 import java.util.List; 21 23 22 24 /** … … 29 31 private String description; 30 32 private Date date; 33 private List anotherDomainObjects = new VenList(AnotherDomainObject.class, "someDomainObject"); 34 private AnotherDomainObject anotherDomainObject = new AnotherDomainObject(); 31 35 32 36 /** … … 86 90 } 87 91 92 /** 93 * @return the list of AnotherDomainObject 94 */ 95 public List getAnotherDomainObjects() { 96 return anotherDomainObjects; 97 } 98 99 /** 100 * @return the anotherDomainObject 101 */ 102 public AnotherDomainObject getAnotherDomainObject() { 103 return anotherDomainObject; 104 } 105 106 /** 107 * @param anotherDomainObject the anotherDomainObject to set 108 */ 109 public void setAnotherDomainObject(AnotherDomainObject anotherDomainObject) { 110 this.anotherDomainObject = anotherDomainObject; 111 } 112 88 113 public String toString() { 89 return id + " " + name + " " + description + " " + date;114 return id + " " + name + " " + description + " another domain object: {" + anotherDomainObject + "} another domain objects:\n" + anotherDomainObjects; 90 115 } 91 116 }
Note: See TracChangeset
for help on using the changeset viewer.