Apache CXF API

org.apache.cxf.xkms.model.xkms
Class KeyBindingAbstractType

java.lang.Object
  extended by org.apache.cxf.xkms.model.xkms.KeyBindingAbstractType
Direct Known Subclasses:
PrototypeKeyBindingType, QueryKeyBindingType, UnverifiedKeyBindingType

public abstract class KeyBindingAbstractType
extends Object

Java class for KeyBindingAbstractType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="KeyBindingAbstractType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.w3.org/2000/09/xmldsig#}KeyInfo" minOccurs="0"/>
         <element ref="{http://www.w3.org/2002/03/xkms#}KeyUsage" maxOccurs="3" minOccurs="0"/>
         <element ref="{http://www.w3.org/2002/03/xkms#}UseKeyWith" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String id
           
protected  KeyInfoType keyInfo
           
protected  List<KeyUsageEnum> keyUsage
           
protected  List<UseKeyWithType> useKeyWith
           
 
Constructor Summary
KeyBindingAbstractType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 KeyInfoType getKeyInfo()
          Gets the value of the keyInfo property.
 List<KeyUsageEnum> getKeyUsage()
          Gets the value of the keyUsage property.
 List<UseKeyWithType> getUseKeyWith()
          Gets the value of the useKeyWith property.
 void setId(String value)
          Sets the value of the id property.
 void setKeyInfo(KeyInfoType value)
          Sets the value of the keyInfo property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyInfo

protected KeyInfoType keyInfo

keyUsage

protected List<KeyUsageEnum> keyUsage

useKeyWith

protected List<UseKeyWithType> useKeyWith

id

protected String id
Constructor Detail

KeyBindingAbstractType

public KeyBindingAbstractType()
Method Detail

getKeyInfo

public KeyInfoType getKeyInfo()
Gets the value of the keyInfo property.

Returns:
possible object is KeyInfoType

setKeyInfo

public void setKeyInfo(KeyInfoType value)
Sets the value of the keyInfo property.

Parameters:
value - allowed object is KeyInfoType

getKeyUsage

public List<KeyUsageEnum> getKeyUsage()
Gets the value of the keyUsage property.

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 keyUsage property.

For example, to add a new item, do as follows:

    getKeyUsage().add(newItem);
 

Objects of the following type(s) are allowed in the list KeyUsageEnum


getUseKeyWith

public List<UseKeyWithType> getUseKeyWith()
Gets the value of the useKeyWith property.

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 useKeyWith property.

For example, to add a new item, do as follows:

    getUseKeyWith().add(newItem);
 

Objects of the following type(s) are allowed in the list UseKeyWithType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

Apache CXF API

Apache CXF