Class Contact
java.lang.Object
org.javastro.ivoa.entities.resource.Contact
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class Contact
extends Object
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Information allowing establishing contact, e.g., for purposes
of support.
Java class for Contact complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Contact">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName"/>
<element name="address" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="email" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="telephone" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="altIdentifier" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ivo-id" type="{http://www.ivoa.net/xml/VOResource/v1.0}IdentifierURI" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringAll components of the mailing address are given in one string, e.g.A reference to this entitiy in a non-IVOA identifier scheme, e.g., orcid.protected Stringthe contact email addressprotected StringAn IVOA identifier for the contact (typically when it is an organization).protected ResourceNameThis can be a person's name, e.g.protected StringComplete international dialing codes should be given, e.g. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) booleanAll components of the mailing address are given in one string, e.g.A reference to this entitiy in a non-IVOA identifier scheme, e.g., orcid.getEmail()the contact email addressgetIvoId()An IVOA identifier for the contact (typically when it is an organization).getName()This can be a person's name, e.g.Complete international dialing codes should be given, e.g.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetAddress(String value) Sets the value of the address property.voidSets the value of the email property.voidSets the value of the ivoId property.voidsetName(ResourceName value) Sets the value of the name property.voidsetTelephone(String value) Sets the value of the telephone property.toString()withAddress(String value) withAltIdentifiers(String... values) withAltIdentifiers(Collection<String> values) withName(ResourceName value) withTelephone(String value)
-
Field Details
-
name
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ResourceName nameThis can be a person's name, e.g. “John P. Jones” or a group, “Archive Support Team”. -
address
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String addressAll components of the mailing address are given in one string, e.g. “3700 San Martin Drive, Baltimore, MD 21218 USA”. -
email
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String emailthe contact email address -
telephone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String telephoneComplete international dialing codes should be given, e.g. “+1-410-338-1234”. -
altIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> altIdentifiersA reference to this entitiy in a non-IVOA identifier scheme, e.g., orcid. Always use a URI form including a scheme here. -
ivoId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String ivoIdAn IVOA identifier for the contact (typically when it is an organization).
-
-
Constructor Details
-
Method Details
-
getName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ResourceName getName()This can be a person's name, e.g. “John P. Jones” or a group, “Archive Support Team”.- Returns:
- possible object is
ResourceName
-
setName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setName(ResourceName value) Sets the value of the name property.- Parameters:
value- allowed object isResourceName- See Also:
-
getAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getAddress()All components of the mailing address are given in one string, e.g. “3700 San Martin Drive, Baltimore, MD 21218 USA”.- Returns:
- possible object is
String
-
setAddress
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setAddress(String value) Sets the value of the address property.- Parameters:
value- allowed object isString- See Also:
-
getEmail
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getEmail()the contact email address- Returns:
- possible object is
String
-
setEmail
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setEmail(String value) Sets the value of the email property.- Parameters:
value- allowed object isString- See Also:
-
getTelephone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getTelephone()Complete international dialing codes should be given, e.g. “+1-410-338-1234”.- Returns:
- possible object is
String
-
setTelephone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setTelephone(String value) Sets the value of the telephone property.- Parameters:
value- allowed object isString- See Also:
-
getAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getAltIdentifiers()A reference to this entitiy in a non-IVOA identifier scheme, e.g., orcid. Always use a URI form including a scheme here. Gets the value of the altIdentifiers 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 JAXB object. This is why there is not a
setmethod for the altIdentifiers property.For example, to add a new item, do as follows:
getAltIdentifiers().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the altIdentifiers property.
-
getIvoId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getIvoId()An IVOA identifier for the contact (typically when it is an organization).- Returns:
- possible object is
String
-
setIvoId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setIvoId(String value) Sets the value of the ivoId property.- Parameters:
value- allowed object isString- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
withName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Contact withName(ResourceName value) -
withAddress
-
withEmail
-
withTelephone
-
withAltIdentifiers
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Contact withAltIdentifiers(Collection<String> values) -
withIvoId
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-