Package net.fortuna.ical4j.connector.jcr
Class AbstractJcrObjectCollection<T>
- java.lang.Object
-
- org.jcrom.AbstractJcrEntity
-
- net.fortuna.ical4j.connector.jcr.AbstractJcrObjectCollection<T>
-
- Type Parameters:
T
- the type of object supported by the collection
- All Implemented Interfaces:
Serializable
,ObjectCollection<T>
- Direct Known Subclasses:
JcrCalendarCollection
,JcrCardCollection
public abstract class AbstractJcrObjectCollection<T> extends org.jcrom.AbstractJcrEntity implements ObjectCollection<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractJcrObjectCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectionName()
String
getDescription()
String
getDisplayName()
protected javax.jcr.Node
getNode()
AbstractJcrObjectStore<? extends AbstractJcrObjectCollection>
getStore()
void
setCollectionName(String collectionName)
void
setDescription(String description)
void
setDisplayName(String displayName)
void
setStore(AbstractJcrObjectStore<? extends AbstractJcrObjectCollection> store)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.connector.ObjectCollection
getComponents
-
-
-
-
Method Detail
-
getCollectionName
public final String getCollectionName()
- Returns:
- the collectionName
-
setCollectionName
public final void setCollectionName(String collectionName)
- Parameters:
collectionName
- the collectionName to set
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceObjectCollection<T>
- Returns:
- the collection description
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceObjectCollection<T>
- Returns:
- the collection name
-
setDescription
public final void setDescription(String description)
- Parameters:
description
- the description to set
-
setDisplayName
public final void setDisplayName(String displayName)
- Parameters:
displayName
- the displayName to set
-
getStore
public final AbstractJcrObjectStore<? extends AbstractJcrObjectCollection> getStore()
- Returns:
- the store
-
setStore
public final void setStore(AbstractJcrObjectStore<? extends AbstractJcrObjectCollection> store)
- Parameters:
store
- the store to set
-
getNode
protected final javax.jcr.Node getNode() throws javax.jcr.PathNotFoundException, org.jcrom.JcrMappingException, javax.jcr.RepositoryException
- Returns:
- the underlying node
- Throws:
javax.jcr.PathNotFoundException
- where the repository path does not existorg.jcrom.JcrMappingException
- where an error with object mapping occursjavax.jcr.RepositoryException
- where an unexpected repository problem is encountered
-
-