Package | Description |
---|---|
de.knipp.rritoolkit |
Modifier and Type | Field and Description |
---|---|
private static DomainData.Role[] |
DomainData.contactSectionRoles
the types of the contact sections; order must be synchronized with
contactSectionNames |
private DomainData.Role |
DomainData.Ref.role
the role
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,DomainData.Role> |
DomainData.Role.tokenMap
map from the token to the type
|
Modifier and Type | Method and Description |
---|---|
static DomainData.Role |
DomainData.Role.fromToken(java.lang.String denicToken)
return the role for the given token
|
DomainData.Role |
DomainData.Ref.getRole()
return the role
|
static DomainData.Role |
DomainData.Role.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DomainData.Role[] |
DomainData.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainData.addContact(DomainData.Role role,
ContactData contact)
add a single contact
|
void |
DomainData.addContacts(DomainData.Role role,
ContactData... theContacts)
add all given contacts
|
void |
DomainData.addContacts(DomainData.Role role,
java.lang.Iterable<ContactData> theContacts)
add all given contacts
|
void |
DomainData.clearContacts(DomainData.Role role)
clear all contact references with the given role
|
java.util.List<ContactData> |
DomainData.getContacts(DomainData.Role role)
return a list of contacts with the given role
|
ContactData |
DomainData.getFirstContact(DomainData.Role role)
return the first contact of the given role
|
Constructor and Description |
---|
Ref(DomainData.Role theRole,
ContactData theContact)
constructor
|
Copyright © 2005-2013 Knipp Medien und Kommunikation GmbH