commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Commons Wiki] Update of "BeanUtils/FAQ" by xiaogan21st
Date Sun, 17 Apr 2011 10:09:46 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "BeanUtils/FAQ" page has been changed by xiaogan21st.
http://wiki.apache.org/commons/BeanUtils/FAQ?action=diff&rev1=8&rev2=9

--------------------------------------------------

  
  === Why does it omit some properties when call BeanUtils.describe? ===
  say you get a dto Type through wsimport tools:
+ 
  package local;
  import java.io.Serializable;
  import java.util.ArrayList;
@@ -163, +164 @@

  import javax.xml.bind.annotation.XmlType;
  import org.w3c.dom.Element;
  /**
-  * 
   *         Container for data on one listing category.
   * 			
   * 
@@ -183, +183 @@

   *   &lt;/complexContent>
   * &lt;/complexType>
   * </pre>
-  * 
-  * 
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "CategoryType", propOrder = {
@@ -224, +222 @@

  
  }
  
- i run this mian method:
+ I run this main method:
  	public static void main(String[] args){
  		CategoryType type = new CategoryType();
  		try{
@@ -235, +233 @@

  		
  	}
  
- get the result:
+ get this result:
  {class=class local.CategoryType}
  
  it omits bestOfferEnabled property.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message