libs/sensorml/src/lib/model/iso/gmd/Contact.ts
Information required enabling contact with the responsible person and/or organisation
Properties |
Methods |
address |
Type : Address
|
Default value : new Address()
|
Decorators :
@DisplayName('Address')
|
contactInstructions |
Type : string
|
Decorators :
@DisplayName('Contact instructions')
|
hoursOfService |
Type : string
|
Decorators :
@DisplayName('Hours of service')
|
onlineResource |
Type : OnlineResource
|
Default value : new OnlineResource()
|
Decorators :
@DisplayName('Online resource')
|
phone |
Type : Phone
|
Default value : new Phone()
|
Decorators :
@DisplayName('Phone')
|
toString |
toString()
|
Returns :
string
|
import { Phone } from './Phone';
import { Address } from './Address';
import { OnlineResource } from './OnlineResource';
import { DisplayName } from '../../../common/decorators/DisplayName';
/**
* Information required enabling contact with the responsible person and/or
* organisation
*/
export class Contact {
@DisplayName('Phone')
phone: Phone = new Phone();
@DisplayName('Address')
address: Address = new Address();
@DisplayName('Online resource')
onlineResource: OnlineResource = new OnlineResource();
@DisplayName('Hours of service')
hoursOfService: string;
@DisplayName('Contact instructions')
contactInstructions: string;
toString() {
return 'Contact';
}
}