directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r352016 - in /directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended: ./ ParameterPojo.java StoredProcedurePojo.java
Date Sat, 03 Dec 2005 21:08:14 GMT
Author: ersiner
Date: Sat Dec  3 13:08:08 2005
New Revision: 352016

URL: http://svn.apache.org/viewcvs?rev=352016&view=rev
Log:
Cleaning up.

We still have a build problem.
I could not import asn1new stuff from ldap-protocol. I'm not sure if this dependency makes
things fails. We'll figure it out.

Added:
    directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/
    directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/ParameterPojo.java
    directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/StoredProcedurePojo.java

Added: directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/ParameterPojo.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/ParameterPojo.java?rev=352016&view=auto
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/ParameterPojo.java
(added)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/ParameterPojo.java
Sat Dec  3 13:08:08 2005
@@ -0,0 +1,47 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+
+
+package org.apache.ldap.common.message.extended;
+
+
+public class ParameterPojo
+{
+    private byte[] type;
+
+    private byte[] value;
+
+    public byte[] getType()
+    {
+        return type;
+    }
+
+    public void setType( byte[] type )
+    {
+        this.type = type;
+    }
+
+    public byte[] getValue()
+    {
+        return value;
+    }
+
+    public void setValue( byte[] value )
+    {
+        this.value = value;
+    }
+}

Added: directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/StoredProcedurePojo.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/StoredProcedurePojo.java?rev=352016&view=auto
==============================================================================
--- directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/StoredProcedurePojo.java
(added)
+++ directory/sandbox/ersiner/ldap-common-with-stored-procs/common/src/main/java/org/apache/ldap/common/message/extended/StoredProcedurePojo.java
Sat Dec  3 13:08:08 2005
@@ -0,0 +1,80 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+
+
+package org.apache.ldap.common.message.extended;
+
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+public class StoredProcedurePojo
+{
+    private String language;
+
+    private byte[] procedure;
+
+    private ArrayList parameters;
+
+    private transient ParameterPojo currentParameter;
+
+    public String getLanguage()
+    {
+        return language;
+    }
+
+    public void setLanguage( String language )
+    {
+        this.language = language;
+    }
+
+    public byte[] getProcedure()
+    {
+        return procedure;
+    }
+
+    public void setProcedure( byte[] procedure )
+    {
+        this.procedure = procedure;
+    }
+
+    public List getParameters()
+    {
+        return parameters;
+    }
+
+    public void addParameter( ParameterPojo parameter )
+    {
+        if (parameters == null)
+        {
+            parameters = new ArrayList();
+        }
+
+        parameters.add( parameter );
+    }
+
+    public ParameterPojo getCurrentParameter()
+    {
+        return currentParameter;
+    }
+
+    public void setCurrentParameter( ParameterPojo currentParameter )
+    {
+        this.currentParameter = currentParameter;
+    }
+}



Mime
View raw message