mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
- Modified Ant scripts to generate admin server stubs - Genreated server stubs - Add stub implmenetation of admin web service git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
208 lines
6.7 KiB
Java
208 lines
6.7 KiB
Java
/**
|
|
* NewUserDetails.java
|
|
*
|
|
* This file was auto-generated from WSDL
|
|
* by the Apache Axis 1.2.1 Jun 14, 2005 (09:15:57 EDT) WSDL2Java emitter.
|
|
*/
|
|
|
|
package org.alfresco.repo.webservice.administration;
|
|
|
|
public class NewUserDetails implements java.io.Serializable {
|
|
private java.lang.String userName;
|
|
private java.lang.String password;
|
|
private org.alfresco.repo.webservice.types.NamedValue[] properties;
|
|
|
|
public NewUserDetails() {
|
|
}
|
|
|
|
public NewUserDetails(
|
|
java.lang.String userName,
|
|
java.lang.String password,
|
|
org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
|
this.userName = userName;
|
|
this.password = password;
|
|
this.properties = properties;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the userName value for this NewUserDetails.
|
|
*
|
|
* @return userName
|
|
*/
|
|
public java.lang.String getUserName() {
|
|
return userName;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the userName value for this NewUserDetails.
|
|
*
|
|
* @param userName
|
|
*/
|
|
public void setUserName(java.lang.String userName) {
|
|
this.userName = userName;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the password value for this NewUserDetails.
|
|
*
|
|
* @return password
|
|
*/
|
|
public java.lang.String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the password value for this NewUserDetails.
|
|
*
|
|
* @param password
|
|
*/
|
|
public void setPassword(java.lang.String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
|
|
/**
|
|
* Gets the properties value for this NewUserDetails.
|
|
*
|
|
* @return properties
|
|
*/
|
|
public org.alfresco.repo.webservice.types.NamedValue[] getProperties() {
|
|
return properties;
|
|
}
|
|
|
|
|
|
/**
|
|
* Sets the properties value for this NewUserDetails.
|
|
*
|
|
* @param properties
|
|
*/
|
|
public void setProperties(org.alfresco.repo.webservice.types.NamedValue[] properties) {
|
|
this.properties = properties;
|
|
}
|
|
|
|
public org.alfresco.repo.webservice.types.NamedValue getProperties(int i) {
|
|
return this.properties[i];
|
|
}
|
|
|
|
public void setProperties(int i, org.alfresco.repo.webservice.types.NamedValue _value) {
|
|
this.properties[i] = _value;
|
|
}
|
|
|
|
private java.lang.Object __equalsCalc = null;
|
|
public synchronized boolean equals(java.lang.Object obj) {
|
|
if (!(obj instanceof NewUserDetails)) return false;
|
|
NewUserDetails other = (NewUserDetails) obj;
|
|
if (obj == null) return false;
|
|
if (this == obj) return true;
|
|
if (__equalsCalc != null) {
|
|
return (__equalsCalc == obj);
|
|
}
|
|
__equalsCalc = obj;
|
|
boolean _equals;
|
|
_equals = true &&
|
|
((this.userName==null && other.getUserName()==null) ||
|
|
(this.userName!=null &&
|
|
this.userName.equals(other.getUserName()))) &&
|
|
((this.password==null && other.getPassword()==null) ||
|
|
(this.password!=null &&
|
|
this.password.equals(other.getPassword()))) &&
|
|
((this.properties==null && other.getProperties()==null) ||
|
|
(this.properties!=null &&
|
|
java.util.Arrays.equals(this.properties, other.getProperties())));
|
|
__equalsCalc = null;
|
|
return _equals;
|
|
}
|
|
|
|
private boolean __hashCodeCalc = false;
|
|
public synchronized int hashCode() {
|
|
if (__hashCodeCalc) {
|
|
return 0;
|
|
}
|
|
__hashCodeCalc = true;
|
|
int _hashCode = 1;
|
|
if (getUserName() != null) {
|
|
_hashCode += getUserName().hashCode();
|
|
}
|
|
if (getPassword() != null) {
|
|
_hashCode += getPassword().hashCode();
|
|
}
|
|
if (getProperties() != null) {
|
|
for (int i=0;
|
|
i<java.lang.reflect.Array.getLength(getProperties());
|
|
i++) {
|
|
java.lang.Object obj = java.lang.reflect.Array.get(getProperties(), i);
|
|
if (obj != null &&
|
|
!obj.getClass().isArray()) {
|
|
_hashCode += obj.hashCode();
|
|
}
|
|
}
|
|
}
|
|
__hashCodeCalc = false;
|
|
return _hashCode;
|
|
}
|
|
|
|
// Type metadata
|
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
new org.apache.axis.description.TypeDesc(NewUserDetails.class, true);
|
|
|
|
static {
|
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "NewUserDetails"));
|
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("userName");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "userName"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
elemField.setNillable(false);
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("password");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "password"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
elemField.setNillable(false);
|
|
typeDesc.addFieldDesc(elemField);
|
|
elemField = new org.apache.axis.description.ElementDesc();
|
|
elemField.setFieldName("properties");
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "properties"));
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue"));
|
|
elemField.setMinOccurs(0);
|
|
elemField.setNillable(false);
|
|
elemField.setMaxOccursUnbounded(true);
|
|
typeDesc.addFieldDesc(elemField);
|
|
}
|
|
|
|
/**
|
|
* Return type metadata object
|
|
*/
|
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
return typeDesc;
|
|
}
|
|
|
|
/**
|
|
* Get Custom Serializer
|
|
*/
|
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
java.lang.String mechType,
|
|
java.lang.Class _javaType,
|
|
javax.xml.namespace.QName _xmlType) {
|
|
return
|
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
_javaType, _xmlType, typeDesc);
|
|
}
|
|
|
|
/**
|
|
* Get Custom Deserializer
|
|
*/
|
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
java.lang.String mechType,
|
|
java.lang.Class _javaType,
|
|
javax.xml.namespace.QName _xmlType) {
|
|
return
|
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
_javaType, _xmlType, typeDesc);
|
|
}
|
|
|
|
}
|