public class PrincipleNameType extends Object
Java class for PrincipleNameType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PrincipleNameType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="Reference" type="{http://difi.no/xsd/certvalidator/1.0}ReferenceType"/>
<element name="Extension" type="{http://difi.no/xsd/certvalidator/1.0}ExtensionType" maxOccurs="unbounded" minOccurs="0"/>
</choice>
<attribute name="field" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="principal" type="{http://difi.no/xsd/certvalidator/1.0}PrincipalEnum" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ExtensionType> |
extension |
protected String |
field |
protected PrincipalEnum |
principal |
protected ReferenceType |
reference |
protected List<String> |
value |
| Constructor and Description |
|---|
PrincipleNameType() |
| Modifier and Type | Method and Description |
|---|---|
List<ExtensionType> |
getExtension()
Gets the value of the extension property.
|
String |
getField()
Gets the value of the field property.
|
PrincipalEnum |
getPrincipal()
Gets the value of the principal property.
|
ReferenceType |
getReference()
Gets the value of the reference property.
|
List<String> |
getValue()
Gets the value of the value property.
|
void |
setField(String value)
Sets the value of the field property.
|
void |
setPrincipal(PrincipalEnum value)
Sets the value of the principal property.
|
void |
setReference(ReferenceType value)
Sets the value of the reference property.
|
protected ReferenceType reference
protected List<ExtensionType> extension
protected String field
protected PrincipalEnum principal
public List<String> getValue()
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 value property.
For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
String
public ReferenceType getReference()
ReferenceTypepublic void setReference(ReferenceType value)
value - allowed object is
ReferenceTypepublic List<ExtensionType> getExtension()
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 extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
ExtensionType
public String getField()
Stringpublic void setField(String value)
value - allowed object is
Stringpublic PrincipalEnum getPrincipal()
PrincipalEnumpublic void setPrincipal(PrincipalEnum value)
value - allowed object is
PrincipalEnumCopyright © 2020 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.