[jboss-cvs] JBossAS SVN: r88951 - branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/persistence/xml.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 15 11:24:56 EDT 2009


Author: emuckenhuber
Date: 2009-05-15 11:24:56 -0400 (Fri, 15 May 2009)
New Revision: 88951

Modified:
   branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/persistence/xml/PersistenceRoot.java
Log:
missing methods.

Modified: branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/persistence/xml/PersistenceRoot.java
===================================================================
--- branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/persistence/xml/PersistenceRoot.java	2009-05-15 15:24:39 UTC (rev 88950)
+++ branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/persistence/xml/PersistenceRoot.java	2009-05-15 15:24:56 UTC (rev 88951)
@@ -23,6 +23,7 @@
 
 import java.util.List;
 
+import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlNsForm;
 import javax.xml.bind.annotation.XmlRootElement;
@@ -44,9 +45,37 @@
 public class PersistenceRoot
 {
 
+   /** The name */
+   private String name;
+   
+   /** The attachment class name. */
+   private String className;
+   
    /** The components. */
-   private List<PersistedComponent> components; 
+   private List<PersistedComponent> components;
    
+   @XmlAttribute(name = "name")
+   public String getName()
+   {
+      return name;
+   }
+   
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   @XmlAttribute(name = "class-name")
+   public String getClassName()
+   {
+      return className;
+   }
+   
+   public void setClassName(String className)
+   {
+      this.className = className;
+   }
+   
    @XmlElement(name = "component")
    public List<PersistedComponent> getComponents()
    {




More information about the jboss-cvs-commits mailing list