//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.02.04 at 01:34:24 PM CET
//
package com.evolveum.prism.xml.ns._public.types_3;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* TODO
*
* Loosely based on XML digital signature standard. But we cannot use full
* standard as we are not bound to XML. We need this to work also for
* JSON and YAML and other languages.
*
*
* <p>Java class for KeyInfoType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="KeyInfoType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="keyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "KeyInfoType", propOrder = {
"keyName"
})
public class KeyInfoType implements Serializable, Cloneable {
protected String keyName;
/**
* Gets the value of the keyName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyName() {
return keyName;
}
/**
* Sets the value of the keyName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyName(String value) {
this.keyName = value;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((keyName == null) ? 0 : keyName.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
KeyInfoType other = (KeyInfoType) obj;
if (keyName == null) {
if (other.keyName != null)
return false;
} else if (!keyName.equals(other.keyName))
return false;
return true;
}
@Override
public String toString() {
return "KeyInfoType(keyName=" + keyName + ")";
}
@Override
public KeyInfoType clone() {
KeyInfoType cloned = new KeyInfoType();
cloned.setKeyName(getKeyName());
return cloned;
}
}