taylor      2004/09/15 15:49:04

  Added:       applications/pam/src/java/org/apache/jetspeed/portlets/site/beans
                        Name.java TableData.java
  Log:
  site portlet
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.1                  
jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/site/beans/Name.java
  
  Index: Name.java
  ===================================================================
  package org.apache.jetspeed.portlets.site.beans;
  
  
  public class Name
  {
      private String first;
      private String last;
      
      public Name(String first, String last)
      {
          this.first = first;
          this.last = last;
      }
      
      public void setFirst(String first)
      {
          this.first = first;
      }
  
      
      /**
       * @return Returns the last.
       */
      public String getLast()
      {
          return last;
      }
      /**
       * @param last The last to set.
       */
      public void setLast(String last)
      {
          this.last = last;
      }
      /**
       * @return Returns the first.
       */
      public String getFirst()
      {
          return first;
      }
  }
  
  
  1.1                  
jakarta-jetspeed-2/applications/pam/src/java/org/apache/jetspeed/portlets/site/beans/TableData.java
  
  Index: TableData.java
  ===================================================================
  package org.apache.jetspeed.portlets.site.beans;
  
  
  public class TableData
  {
      private static final Name[] names = new Name[]     
      { 
              new Name("Taylor", "David"),
              new Name("Weaver", "Scott"),
              new Name("Ford", "Jeremy")
      };
      
      public Name[] getNames()
      {
          return names;
      }
  }
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to