Class XmlSignerRole
- java.lang.Object
-
- eu.europa.esig.dss.diagnostic.jaxb.XmlSignerRole
-
- All Implemented Interfaces:
Serializable
public class XmlSignerRole extends Object implements Serializable
Java class for SignerRole complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignerRole"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Role" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="NotAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> </sequence> <attribute name="Category" use="required" type="{http://dss.esig.europa.eu/validation/diagnostic}EndorsementType" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlSignerRole()
-
Method Summary
Modifier and Type Method Description EndorsementTypegetCategory()Gets the value of the category property.DategetNotAfter()Gets the value of the notAfter property.DategetNotBefore()Gets the value of the notBefore property.StringgetRole()Gets the value of the role property.voidsetCategory(EndorsementType value)Sets the value of the category property.voidsetNotAfter(Date value)Sets the value of the notAfter property.voidsetNotBefore(Date value)Sets the value of the notBefore property.voidsetRole(String value)Sets the value of the role property.
-
-
-
Field Detail
-
role
protected String role
-
notAfter
protected Date notAfter
-
notBefore
protected Date notBefore
-
category
protected EndorsementType category
-
-
Method Detail
-
getRole
public String getRole()
Gets the value of the role property.- Returns:
- possible object is
String
-
setRole
public void setRole(String value)
Sets the value of the role property.- Parameters:
value- allowed object isString
-
getNotAfter
public Date getNotAfter()
Gets the value of the notAfter property.- Returns:
- possible object is
String
-
setNotAfter
public void setNotAfter(Date value)
Sets the value of the notAfter property.- Parameters:
value- allowed object isString
-
getNotBefore
public Date getNotBefore()
Gets the value of the notBefore property.- Returns:
- possible object is
String
-
setNotBefore
public void setNotBefore(Date value)
Sets the value of the notBefore property.- Parameters:
value- allowed object isString
-
getCategory
public EndorsementType getCategory()
Gets the value of the category property.- Returns:
- possible object is
String
-
setCategory
public void setCategory(EndorsementType value)
Sets the value of the category property.- Parameters:
value- allowed object isString
-
-