Package cc.maria.rdap.object
Class ObjectClass
- java.lang.Object
-
- cc.maria.rdap.object.ObjectClass
-
- Direct Known Subclasses:
AutnumObjectClass,DomainObjectClass,EntityObjectClass,ErrorResponseBody,IPNetworkObjectClass,NameserverObjectClass
public class ObjectClass extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private EntityObjectClass[]entitiesprivate Event[]eventsprivate Stringhandleprivate Link[]linksprivate NoticeOrRemark[]noticesprivate StringobjectClassNameprivate Stringport43private String[]rdapConformanceprivate NoticeOrRemark[]remarksprivate String[]status
-
Constructor Summary
Constructors Constructor Description ObjectClass()
-
Method Summary
-
-
-
Field Detail
-
objectClassName
private String objectClassName
-
handle
private String handle
-
entities
private EntityObjectClass[] entities
-
status
private String[] status
-
remarks
private NoticeOrRemark[] remarks
-
links
private Link[] links
-
port43
private String port43
-
events
private Event[] events
-
notices
private NoticeOrRemark[] notices
-
rdapConformance
private String[] rdapConformance
-
-
Method Detail
-
getLinks
public Link[] getLinks()
-
getEntities
public EntityObjectClass[] getEntities()
-
getEvents
public Event[] getEvents()
-
getRemarks
public NoticeOrRemark[] getRemarks()
-
getHandle
public String getHandle()
-
getObjectClassName
public String getObjectClassName()
-
getPort43
public String getPort43()
-
getStatus
public String[] getStatus()
-
getRdapConformance
public String[] getRdapConformance()
-
getNotices
public NoticeOrRemark[] getNotices()
-
getEntityByRole
public EntityObjectClass getEntityByRole(String role)
Get the first entity of a specific role. Returns null if no entity with the given role exists.- Parameters:
role- The role to search for- Returns:
- The first entity with the specified role
-
getRegistrantContact
public EntityObjectClass getRegistrantContact()
Get the first registrant contact. Returns null if no entity with the registrant role exists.- Returns:
- First registrant contact
-
getTechnicalContact
public EntityObjectClass getTechnicalContact()
Get the first technical contact. Returns null if no entity with the technical role exists.- Returns:
- First technical contact
-
getAdministrativeContact
public EntityObjectClass getAdministrativeContact()
Get the first administrative contact. Returns null if no entity with the administrative role exists.- Returns:
- First administrative contact
-
getAbuseContact
public EntityObjectClass getAbuseContact()
Get the first abuse contact. Returns null if no entity with the abuse role exists.- Returns:
- First abuse contact
-
getBillingContact
public EntityObjectClass getBillingContact()
Get the first billing contact. Returns null if no entity with the billing role exists.- Returns:
- First billing contact
-
getRegistrarContact
public EntityObjectClass getRegistrarContact()
Get the first registrar contact. Returns null if no entity with the registrar role exists.- Returns:
- First registrar contact
-
getResellerContact
public EntityObjectClass getResellerContact()
Get the first reseller contact. Returns null if no entity with the reseller role exists.- Returns:
- First reseller contact
-
getSponsorContact
public EntityObjectClass getSponsorContact()
Get the first sponsor contact. Returns null if no entity with the sponsor role exists.- Returns:
- First sponsor contact
-
getProxyContact
public EntityObjectClass getProxyContact()
Get the first proxy contact. Returns null if no entity with the proxy role exists.- Returns:
- First proxy contact
-
getNotificationContact
public EntityObjectClass getNotificationContact()
Get the first notification contact. Returns null if no entity with the notifications role exists.- Returns:
- First notification contact
-
getNOCContact
public EntityObjectClass getNOCContact()
Get the first NOC contact. Returns null if no entity with the NOC role exists.- Returns:
- First NOC contact
-
getEPPStatus
public String[] getEPPStatus()
Returns the EPP status codes equivalent to the status codes provided in the ObjectClass. Status codes that do not map to EPP status codes are ignored.- Returns:
- EPP status codes
-
-