public class ServiceType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Java class for ServiceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ServiceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{urn:cdr-ex:describe:sp:1.0}SimpleTokenType"/>
<element name="function" type="{urn:cdr-ex:describe:sp:1.0}SimpleTokenType" maxOccurs="100" minOccurs="0"/>
<element name="type">
<complexType>
<simpleContent>
<extension base="<urn:cdr-ex:describe:sp:1.0>ServiceTypeValuesType">
<attribute name="style" use="required" type="{urn:cdr-ex:describe:sp:1.0}ServiceStyleValuesType" />
<attribute name="version" use="required" type="{urn:cdr-ex:describe:sp:1.0}SimpleTokenType" />
<attribute name="secure" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="address" type="{urn:cdr-ex:describe:sp:1.0}AddressType" maxOccurs="100"/>
<element ref="{urn:cdr-ex:describe:sp:1.0}conformance" maxOccurs="100" minOccurs="0"/>
<element ref="{urn:us:mil:ces:metadata:ddms:5}relatedResource" maxOccurs="100" minOccurs="0"/>
<element name="serviceCapabilities" type="{urn:cdr-ex:describe:sp:1.0}ServiceCapabilitiesType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceType.Type
The type of service service.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<AddressType> |
address |
protected List<ConformanceType> |
conformance |
protected List<String> |
function |
protected String |
name |
protected List<RelatedResourcesType> |
relatedResource |
protected ServiceCapabilitiesType |
serviceCapabilities |
protected ServiceType.Type |
type |
| Constructor and Description |
|---|
ServiceType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy) |
Object |
createNewInstance() |
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.EqualsStrategy2 strategy) |
List<AddressType> |
getAddress()
Gets the value of the address property.
|
List<ConformanceType> |
getConformance()
Gets the value of the conformance property.
|
List<String> |
getFunction()
Gets the value of the function property.
|
String |
getName()
Gets the value of the name property.
|
List<RelatedResourcesType> |
getRelatedResource()
Links to related resources which could include user interfaces
specific to the service, service documentation, service WSDL, WADLs,
etc.Gets the value of the relatedResource property.
|
ServiceCapabilitiesType |
getServiceCapabilities()
Gets the value of the serviceCapabilities property.
|
ServiceType.Type |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
boolean |
isSetAddress() |
boolean |
isSetConformance() |
boolean |
isSetFunction() |
boolean |
isSetName() |
boolean |
isSetRelatedResource() |
boolean |
isSetServiceCapabilities() |
boolean |
isSetType() |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy) |
void |
mergeFrom(Object left,
Object right) |
void |
setAddress(List<AddressType> value) |
void |
setConformance(List<ConformanceType> value) |
void |
setFunction(List<String> value) |
void |
setName(String value)
Sets the value of the name property.
|
void |
setRelatedResource(List<RelatedResourcesType> value) |
void |
setServiceCapabilities(ServiceCapabilitiesType value)
Sets the value of the serviceCapabilities property.
|
void |
setType(ServiceType.Type value)
Sets the value of the type property.
|
String |
toString() |
void |
unsetAddress() |
void |
unsetConformance() |
void |
unsetFunction() |
void |
unsetRelatedResource() |
@NotNull(message="ServiceType.name {javax.validation.constraints.NotNull.message}")
@Size(min=1)
protected String name
@NotNull(message="ServiceType.type {javax.validation.constraints.NotNull.message}")
protected ServiceType.Type type
@NotNull(message="ServiceType.address {javax.validation.constraints.NotNull.message}")
@Size(min=1,
max=100)
protected List<AddressType> address
@Size(min=0,
max=100)
protected List<ConformanceType> conformance
@Size(min=0,
max=100)
protected List<RelatedResourcesType> relatedResource
protected ServiceCapabilitiesType serviceCapabilities
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public List<String> getFunction()
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 function property.
For example, to add a new item, do as follows:
getFunction().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetFunction()
public void unsetFunction()
public ServiceType.Type getType()
ServiceType.Typepublic void setType(ServiceType.Type value)
value - allowed object is
ServiceType.Typepublic boolean isSetType()
public List<AddressType> getAddress()
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 address property.
For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
AddressType
public boolean isSetAddress()
public void unsetAddress()
public List<ConformanceType> getConformance()
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 conformance property.
For example, to add a new item, do as follows:
getConformance().add(newItem);
Objects of the following type(s) are allowed in the list
ConformanceType
public boolean isSetConformance()
public void unsetConformance()
public List<RelatedResourcesType> getRelatedResource()
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 relatedResource property.
For example, to add a new item, do as follows:
getRelatedResource().add(newItem);
Objects of the following type(s) are allowed in the list
RelatedResourcesType
public boolean isSetRelatedResource()
public void unsetRelatedResource()
public ServiceCapabilitiesType getServiceCapabilities()
ServiceCapabilitiesTypepublic void setServiceCapabilities(ServiceCapabilitiesType value)
value - allowed object is
ServiceCapabilitiesTypepublic boolean isSetServiceCapabilities()
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(Object left, Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2public void setAddress(List<AddressType> value)
public void setConformance(List<ConformanceType> value)
public void setRelatedResource(List<RelatedResourcesType> value)
Copyright © 2014–2016 Pink Summit, LLC. All rights reserved.