Class ServiceType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.ServiceType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class ServiceType extends RegistryObjectType
Represents a service in ebRIM. Matches service as defined in WSDL 2.Java class for ServiceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ServiceType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}RegistryObjectType"> <sequence> <element name="ServiceEndpoint" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}ServiceEndpointType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="serviceInterface" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}objectReferenceType" /> </extension> </complexContent> </complexType>This class was annotated by ph-jaxb-plugin -Xph-annotate
This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb-plugin -Xph-tostring
This class contains methods created by ph-jaxb-plugin -Xph-list-extension
This class contains methods created by ph-jaxb-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb-plugin -Xph-value-extender
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceType()Default constructor
Note: automatically created by ph-jaxb-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddServiceEndpoint(ServiceEndpointType elem)Created by ph-jaxb-plugin -Xph-list-extensionServiceTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(ServiceType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<ServiceEndpointType>getServiceEndpoint()Gets the value of the serviceEndpoint property.ServiceEndpointTypegetServiceEndpointAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetServiceEndpointCount()Created by ph-jaxb-plugin -Xph-list-extensionStringgetServiceInterface()Gets the value of the serviceInterface property.inthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoServiceEndpointEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasServiceEndpointEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetServiceEndpoint(List<ServiceEndpointType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetServiceInterface(String value)Sets the value of the serviceInterface property.StringtoString()Created by ph-jaxb-plugin -Xph-tostring-
Methods inherited from class com.helger.regrep.rim.RegistryObjectType
addClassification, addExternalIdentifier, addExternalLink, cloneTo, getClassification, getClassificationAtIndex, getClassificationCount, getDescription, getExternalIdentifier, getExternalIdentifierAtIndex, getExternalIdentifierCount, getExternalLink, getExternalLinkAtIndex, getExternalLinkCount, getLid, getName, getObjectType, getOwner, getStatus, getVersionInfo, hasClassificationEntries, hasExternalIdentifierEntries, hasExternalLinkEntries, hasNoClassificationEntries, hasNoExternalIdentifierEntries, hasNoExternalLinkEntries, setClassification, setDescription, setExternalIdentifier, setExternalLink, setLid, setName, setObjectType, setOwner, setStatus, setVersionInfo
-
Methods inherited from class com.helger.regrep.rim.IdentifiableType
cloneTo, getId, setId
-
Methods inherited from class com.helger.regrep.rim.ExtensibleObjectType
addSlot, cloneTo, getSlot, getSlotAtIndex, getSlotCount, hasNoSlotEntries, hasSlotEntries, setSlot
-
-
-
-
Method Detail
-
getServiceEndpoint
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<ServiceEndpointType> getServiceEndpoint()
Gets the value of the serviceEndpoint 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 Jakarta XML Binding object. This is why there is not a
setmethod for the serviceEndpoint property.For example, to add a new item, do as follows:
getServiceEndpoint().add(newItem);Objects of the following type(s) are allowed in the list
ServiceEndpointType- Returns:
- The value of the serviceEndpoint property.
-
getServiceInterface
@Nullable public String getServiceInterface()
Gets the value of the serviceInterface property.- Returns:
- possible object is
String
-
setServiceInterface
public void setServiceInterface(@Nullable String value)
Sets the value of the serviceInterface property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
equalsin classRegistryObjectType
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode- Overrides:
hashCodein classRegistryObjectType
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring- Overrides:
toStringin classRegistryObjectType
-
setServiceEndpoint
public void setServiceEndpoint(@Nullable List<ServiceEndpointType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasServiceEndpointEntries
public boolean hasServiceEndpointEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoServiceEndpointEntries
public boolean hasNoServiceEndpointEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getServiceEndpointCount
@Nonnegative public int getServiceEndpointCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getServiceEndpointAtIndex
@Nullable public ServiceEndpointType getServiceEndpointAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addServiceEndpoint
public void addServiceEndpoint(@Nonnull ServiceEndpointType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull ServiceType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public ServiceType clone()
Created by ph-jaxb-plugin -Xph-cloneable2- Specified by:
clonein interfacecom.helger.commons.lang.IExplicitlyCloneable- Overrides:
clonein classRegistryObjectType- Returns:
- The cloned object. Never
null.
-
-