Package org.bedework.calfacade
Class SubContext
java.lang.Object
org.bedework.calfacade.SubContext
- All Implemented Interfaces:
Comparable<SubContext>
Provide information about a sub-context of the public calendar.
- Author:
- Mike Douglass douglm@bedework.edu
-
Constructor Summary
ConstructorsConstructorDescriptionSubContext(String encoded) SubContext(String contextName, String calSuite, boolean defaultContext) SubContext(BwProperty prop) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(SubContext that) Get the calSuite name.Get the context name.booleangetProp()inthashCode()toString()protected org.bedework.util.misc.ToStringtoStringSegment(org.bedework.util.misc.ToString ts)
-
Constructor Details
-
SubContext
- Parameters:
prop-
-
SubContext
- Parameters:
contextName-calSuite-defaultContext-
-
SubContext
- Parameters:
encoded- - comma delimited internal form.
-
-
Method Details
-
getProp
- Returns:
- BwProperty representing this context.
-
getContextName
Get the context name.- Returns:
- String context name
-
getCalSuite
Get the calSuite name.- Returns:
- String calSuite name
-
getDefaultContext
public boolean getDefaultContext()- Returns:
- true for default context
-
compareTo
- Specified by:
compareToin interfaceComparable<SubContext>
-
hashCode
public int hashCode() -
toStringSegment
protected org.bedework.util.misc.ToString toStringSegment(org.bedework.util.misc.ToString ts) -
toString
-