public class CalendarHierarchy extends Object
Constructor and Description |
---|
CalendarHierarchy(CalendarHierarchy parent,
String id)
Constructor which takes a eventually existing parent hierarchy node and
the ID of this hierarchy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares Hierarchies by id.
|
Map<String,CalendarHierarchy> |
getChildren()
Getter for the field
children . |
String |
getDescription()
Returns the country description for the default locale.
|
String |
getDescription(Locale l)
Returns the hierarchies description text from the resource bundle.
|
String |
getId()
Getter for the field
id . |
int |
hashCode() |
void |
setChildren(Map<String,CalendarHierarchy> children)
Setter for the field
children . |
void |
setFallbackDescription(String description) |
public CalendarHierarchy(CalendarHierarchy parent, String id)
parent
- a CalendarHierarchy
object.id
- a String
object.public String getId()
Getter for the field id
.
public String getDescription()
public String getDescription(Locale l)
l
- Locale to return the description text for.public boolean equals(Object obj)
public void setChildren(Map<String,CalendarHierarchy> children)
Setter for the field children
.
children
- the children to setpublic Map<String,CalendarHierarchy> getChildren()
Getter for the field children
.
public void setFallbackDescription(String description)
description
- the fallback descriptionCopyright © 18.01.2010–2015. All rights reserved.