Class OrganizationType
- java.lang.Object
-
- com.helger.regrep.rim.ExtensibleObjectType
-
- com.helger.regrep.rim.IdentifiableType
-
- com.helger.regrep.rim.RegistryObjectType
-
- com.helger.regrep.rim.PartyType
-
- com.helger.regrep.rim.OrganizationType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware public class OrganizationType extends PartyType
Represents an organizational entity in ebRIM.Java class for OrganizationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OrganizationType"> <complexContent> <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}PartyType"> <sequence> <element name="Organization" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}OrganizationType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="primaryContact" 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 OrganizationType()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 voidaddOrganization(OrganizationType elem)Created by ph-jaxb-plugin -Xph-list-extensionOrganizationTypeclone()Created by ph-jaxb-plugin -Xph-cloneable2voidcloneTo(OrganizationType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb-plugin -Xph-equalshashcodeList<OrganizationType>getOrganization()Gets the value of the organization property.OrganizationTypegetOrganizationAtIndex(int index)Created by ph-jaxb-plugin -Xph-list-extensionintgetOrganizationCount()Created by ph-jaxb-plugin -Xph-list-extensionStringgetPrimaryContact()Gets the value of the primaryContact property.inthashCode()Created by ph-jaxb-plugin -Xph-equalshashcodebooleanhasNoOrganizationEntries()Created by ph-jaxb-plugin -Xph-list-extensionbooleanhasOrganizationEntries()Created by ph-jaxb-plugin -Xph-list-extensionvoidsetOrganization(List<OrganizationType> aList)Created by ph-jaxb-plugin -Xph-list-extensionvoidsetPrimaryContact(String value)Sets the value of the primaryContact property.StringtoString()Created by ph-jaxb-plugin -Xph-tostring-
Methods inherited from class com.helger.regrep.rim.PartyType
addEmailAddress, addPostalAddress, addTelephoneNumber, cloneTo, getEmailAddress, getEmailAddressAtIndex, getEmailAddressCount, getPostalAddress, getPostalAddressAtIndex, getPostalAddressCount, getTelephoneNumber, getTelephoneNumberAtIndex, getTelephoneNumberCount, hasEmailAddressEntries, hasNoEmailAddressEntries, hasNoPostalAddressEntries, hasNoTelephoneNumberEntries, hasPostalAddressEntries, hasTelephoneNumberEntries, setEmailAddress, setPostalAddress, setTelephoneNumber
-
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
-
getOrganization
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<OrganizationType> getOrganization()
Gets the value of the organization 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 organization property.For example, to add a new item, do as follows:
getOrganization().add(newItem);Objects of the following type(s) are allowed in the list
OrganizationType- Returns:
- The value of the organization property.
-
getPrimaryContact
@Nullable public String getPrimaryContact()
Gets the value of the primaryContact property.- Returns:
- possible object is
String
-
setPrimaryContact
public void setPrimaryContact(@Nullable String value)
Sets the value of the primaryContact property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(Object o)
Created by ph-jaxb-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb-plugin -Xph-tostring
-
setOrganization
public void setOrganization(@Nullable List<OrganizationType> aList)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasOrganizationEntries
public boolean hasOrganizationEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoOrganizationEntries
public boolean hasNoOrganizationEntries()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getOrganizationCount
@Nonnegative public int getOrganizationCount()
Created by ph-jaxb-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getOrganizationAtIndex
@Nullable public OrganizationType getOrganizationAtIndex(@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!
-
addOrganization
public void addOrganization(@Nonnull OrganizationType elem)
Created by ph-jaxb-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull OrganizationType 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 OrganizationType clone()
Created by ph-jaxb-plugin -Xph-cloneable2
-
-