public class EncryptionMethodType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for EncryptionMethodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EncryptionMethodType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="KeySize" type="{http://www.w3.org/2001/04/xmlenc#}KeySizeType" minOccurs="0"/> <element name="OAEPparams" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
algorithm |
static QName |
COMPLEX_TYPE |
protected List<Object> |
content |
static QName |
F_ALGORITHM |
Constructor and Description |
---|
EncryptionMethodType()
Creates a new
EncryptionMethodType instance. |
EncryptionMethodType(EncryptionMethodType o)
Creates a new
EncryptionMethodType instance by deeply copying a given EncryptionMethodType instance. |
Modifier and Type | Method and Description |
---|---|
EncryptionMethodType |
clone()
Creates and returns a deep copy of this object.
|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
String |
getAlgorithm()
Gets the value of the algorithm property.
|
List<Object> |
getContent()
Gets the value of the content property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAlgorithm(String value)
Sets the value of the algorithm property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected String algorithm
public static final QName COMPLEX_TYPE
public static final QName F_ALGORITHM
public EncryptionMethodType()
EncryptionMethodType
instance.public EncryptionMethodType(EncryptionMethodType o)
EncryptionMethodType
instance by deeply copying a given EncryptionMethodType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement
<
byte[]
>
String
JAXBElement
<
BigInteger
>
Object
public String getAlgorithm()
String
public void setAlgorithm(String value)
value
- allowed object is
String
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public EncryptionMethodType clone()
Copyright © 2016 Evolveum. All rights reserved.