Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.property

public Class ResourceType

extends Property
implements Encodable
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.Encodable
Known Direct Subclasses
net.fortuna.ical4j.model.property.immutable.ImmutableResourceType
Imports
net.fortuna.ical4j.model.*, net.fortuna.ical4j.validate.ValidationException, .ValidationResult

     Property Name:
    RESOURCE-TYPE
Purpose:
    This property specifies the type of resource.
Value Type:
    The value type for this property is TEXT. The allowable values are defined below.
Format Definition:

    This property is defined by the following notation:

restypeprop   = "RESOURCE-TYPE" restypeparam ":"
                restypevalue CRLF

restypevalue  = ("ROOM"
               / "PROJECTOR"
               / "REMOTE-CONFERENCE-AUDIO"
               / "REMOTE-CONFERENCE-VIDEO"
               / iana-token)     ; Other IANA-registered
               ; values

restypeparam   = *(";" other-param)

Description:

    This property MAY be specified in "VRESOURCE" components and provides a way to differentiate multiple resources.
The registered values are described below. New resource types SHOULD be registered in the manner laid down in this specification.
ROOM:
    A room for the event/meeting.
PROJECTOR:
    Projection equipment.
REMOTE-CONFERENCE-AUDIO:
    Audio remote conferencing facilities.
REMOTE-CONFERENCE-VIDEO:
    Video remote conferencing facilities.
Authors
benf, Mike Douglass

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final String
public static final String
public static final String
public static final String
private static final long
private String
Inherited from net.fortuna.ical4j.model.Property:
ACKNOWLEDGEDACTIONATTACHATTENDEEBUSYTYPECALENDAR_ADDRESSCALSCALECATEGORIESCLASSCOMMENTCOMPLETEDCONTACTCOUNTRYCREATEDDESCRIPTIONDTENDDTSTAMPDTSTARTDUEDURATIONEXDATEEXPERIMENTAL_PREFIXEXRULEEXTENDED_ADDRESSFREEBUSYGEOLAST_MODIFIEDLOCALITYLOCATIONLOCATION_TYPEMETHODNAMEORGANIZERPARTICIPANT_TYPEPERCENT_COMPLETEPOSTALCODEPRIORITYPRODIDPROXIMITYRDATERECURRENCE_IDREGIONRELATED_TOREPEATREQUEST_STATUSRESOURCE_TYPERESOURCESRRULESEQUENCESTATUSSTREET_ADDRESSSTRUCTURED_DATASTYLED_DESCRIPTIONSUMMARYTELTRANSPTRIGGERTZIDTZID_ALIAS_OFTZNAMETZOFFSETFROMTZOFFSETTOTZUNTILTZURLUIDURLVERSIONXML

Constructor Summary

AccessConstructor and Description
public
ResourceType()

Default constructor.

public
ResourceType(final String
a value string for this component
aValue
)

public
ResourceType(final ParameterList
a list of parameters for this component
aList
,
final String
a value string for this component
aValue
)

Method Summary

Modifier and TypeMethod and Description
public final String
protected PropertyFactory<ResourceType>
newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

public void
setValue(final String
a string representation of the property value
aValue
)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

public ValidationResult
validate()

Implements abstract net.fortuna.ical4j.model.Property.validate.

Perform validation on a property.

Inherited from net.fortuna.ical4j.model.Property:
addcompareTocopyequalsgetFluentTargetgetNamegetParametergetParametergetParameterListgetParametersgetPrefixgetRequiredParametergetRequiredParameterhashCoderemoveremoveAllreplacesetParameterssetPrefixtoString

Field Detail

projectorback to summary
public static final String projector
remoteConferenceAudioback to summary
public static final String remoteConferenceAudio
remoteConferenceVideoback to summary
public static final String remoteConferenceVideo
roomback to summary
public static final String room
serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Property.serialVersionUID.

valueback to summary
private String value

Constructor Detail

ResourceTypeback to summary
public ResourceType()

Default constructor.

ResourceTypeback to summary
public ResourceType(final String aValue)
Parameters
aValue:String

a value string for this component

ResourceTypeback to summary
public ResourceType(final ParameterList aList, final String aValue)
Parameters
aList:ParameterList

a list of parameters for this component

aValue:String

a value string for this component

Method Detail

getValueback to summary
public final String getValue()

Implements abstract net.fortuna.ical4j.model.Content.getValue.

Returns:String

Doc from net.fortuna.ical4j.model.Content.getValue.

the content value

newFactoryback to summary
protected PropertyFactory<ResourceType> newFactory()

Implements abstract net.fortuna.ical4j.model.Property.newFactory.

Doc from net.fortuna.ical4j.model.Property.newFactory.

Returns a new property factory used to create deep copies.

Returns:PropertyFactory<ResourceType>

a property factory instance

Annotations
@Override
setValueback to summary
public void setValue(final String aValue)

Implements abstract net.fortuna.ical4j.model.Property.setValue.

Doc from net.fortuna.ical4j.model.Property.setValue.

Sets the current value of the property.

Parameters
aValue:String

a string representation of the property value

validateback to summary
public ValidationResult validate() throws ValidationException

Implements abstract net.fortuna.ical4j.model.Property.validate.

Doc from net.fortuna.ical4j.model.Property.validate.

Perform validation on a property.

Annotations
@Override
Exceptions
ValidationException:
where the property is not in a valid state
net.fortuna.ical4j.model.property back to summary

public Class ResourceType.Factory

extends Factory
implements PropertyFactory<ResourceType>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.PropertyFactory, java.io.Serializable

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ResourceType
createProperty(final ParameterList
a list of property parameters
parameters
,
final String
a property value
value
)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

public ResourceType
Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createPropertyback to summary
public ResourceType createProperty(final ParameterList parameters, final String value)

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Parameters
parameters:ParameterList

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a list of property parameters

value:String

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a property value

Returns:ResourceType

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property

createPropertyback to summary
public ResourceType createProperty()

Implements net.fortuna.ical4j.model.PropertyFactory.createProperty.

Returns:ResourceType

Doc from net.fortuna.ical4j.model.PropertyFactory.createProperty.

a new instance of the specified property