directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r348980 - in /directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs: ParameterPojo.java StoredProcedurePojo.java
Date Fri, 25 Nov 2005 16:54:54 GMT
Author: elecharny
Date: Fri Nov 25 08:52:46 2005
New Revision: 348980

URL: http://svn.apache.org/viewcvs?rev=348980&view=rev
Log:
Added Pojo 

Added:
    directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/ParameterPojo.java
    directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/StoredProcedurePojo.java

Added: directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/ParameterPojo.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/ParameterPojo.java?rev=348980&view=auto
==============================================================================
--- directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/ParameterPojo.java
(added)
+++ directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/ParameterPojo.java
Fri Nov 25 08:52:46 2005
@@ -0,0 +1,20 @@
+package org.apache.ldap.server.storedprocs;
+
+public class ParameterPojo {
+	private String type;
+	
+	private byte[] value;
+	
+	public String getType() {
+		return type;
+	}
+	public void setType(String type) {
+		this.type = type;
+	}
+	public byte[] getValue() {
+		return value;
+	}
+	public void setValue(byte[] value) {
+		this.value = value;
+	}
+}

Added: directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/StoredProcedurePojo.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/StoredProcedurePojo.java?rev=348980&view=auto
==============================================================================
--- directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/StoredProcedurePojo.java
(added)
+++ directory/sandbox/ersiner/apacheds-with-storedprocs/core/src/main/java/org/apache/ldap/server/storedprocs/StoredProcedurePojo.java
Fri Nov 25 08:52:46 2005
@@ -0,0 +1,31 @@
+package org.apache.ldap.server.storedprocs;
+
+import java.util.HashSet;
+import java.util.Set;
+
+public class StoredProcedurePojo {
+	private String procedure;
+	private Set parameters;
+	
+	public String getProcedure() {
+		return procedure;
+	}
+	
+	public void setProcedure(String procedure) {
+		this.procedure = procedure;
+	}
+	
+	public Set getParameters() {
+		return parameters;
+	}
+	
+	public void addParameter( ParameterPojo parameter )
+	{
+		if ( parameters == null )
+		{
+			parameters = new HashSet();
+		}
+		
+		parameters.add( parameter );
+	}
+}



Mime
View raw message