forked from apache/dubbo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
kimi
committed
Dec 26, 2012
1 parent
737dc24
commit 0e3b007
Showing
2 changed files
with
163 additions
and
0 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
dubbo-common/src/test/java/com/alibaba/dubbo/common/beanutil/Bean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package com.alibaba.dubbo.common.beanutil; | ||
|
||
import java.util.Collection; | ||
import java.util.Date; | ||
import java.util.Map; | ||
|
||
import com.alibaba.dubbo.common.model.person.FullAddress; | ||
import com.alibaba.dubbo.common.model.person.PersonStatus; | ||
import com.alibaba.dubbo.common.model.person.Phone; | ||
|
||
/** | ||
* @author <a href="mailto:[email protected]">kimi</a> | ||
*/ | ||
public class Bean { | ||
|
||
private Class<?> type; | ||
|
||
private PersonStatus status; | ||
|
||
private Date date; | ||
|
||
private Phone[] array; | ||
|
||
private Collection<Phone> collection; | ||
|
||
private Map<String, FullAddress> addresses; | ||
|
||
public Class<?> getType() { | ||
return type; | ||
} | ||
|
||
public void setType(Class<?> type) { | ||
this.type = type; | ||
} | ||
|
||
public PersonStatus getStatus() { | ||
return status; | ||
} | ||
|
||
public void setStatus(PersonStatus status) { | ||
this.status = status; | ||
} | ||
|
||
public Date getDate() { | ||
return date; | ||
} | ||
|
||
public void setDate(Date date) { | ||
this.date = date; | ||
} | ||
|
||
public Phone[] getArray() { | ||
return array; | ||
} | ||
|
||
public void setArray(Phone[] array) { | ||
this.array = array; | ||
} | ||
|
||
public Collection<Phone> getCollection() { | ||
return collection; | ||
} | ||
|
||
public void setCollection(Collection<Phone> collection) { | ||
this.collection = collection; | ||
} | ||
|
||
public Map<String, FullAddress> getAddresses() { | ||
return addresses; | ||
} | ||
|
||
public void setAddresses(Map<String, FullAddress> addresses) { | ||
this.addresses = addresses; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters