Class DateEvents
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.DateEvents
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UntypedData>
,java.lang.Iterable<EdalDate>
,java.util.Collection<EdalDate>
,java.util.Set<EdalDate>
public class DateEvents extends UntypedData implements java.util.Set<EdalDate>
Collection ofEdalDate
objects to define the dates and ranges of different events,e.g. date of creation...- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
ALL_RIGHTS_RESERVED, EMPTY, string
-
-
Constructor Summary
Constructors Constructor Description DateEvents(java.lang.String description)
Default constructor to create aDateEvents
object with a defined description.
-
Method Summary
Modifier and Type Method Description boolean
add(EdalDate date)
boolean
addAll(java.util.Collection<? extends EdalDate> collection)
void
clear()
int
compareTo(UntypedData datatype)
boolean
contains(java.lang.Object object)
boolean
containsAll(java.util.Collection<?> collection)
boolean
equals(java.lang.Object object)
java.util.Set<EdalDate>
getSet()
int
hashCode()
boolean
isEmpty()
java.util.Iterator<EdalDate>
iterator()
boolean
remove(java.lang.Object object)
boolean
removeAll(java.util.Collection<?> collection)
boolean
retainAll(java.util.Collection<?> collection)
void
setSet(java.util.Set<EdalDate> set)
int
size()
java.lang.Object[]
toArray()
<T> T[]
toArray(T[] array)
java.lang.String
toHTML()
Return a String representation for the HTML pages of the HTTP-Listenerjava.lang.String
toString()
-
Methods inherited from class de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.UntypedData
getString, setString
-
-
-
-
Constructor Detail
-
DateEvents
public DateEvents(java.lang.String description)
Default constructor to create aDateEvents
object with a defined description.- Parameters:
description
- the event for thisDateEvents
.
-
-
Method Detail
-
add
public boolean add(EdalDate date)
-
addAll
public boolean addAll(java.util.Collection<? extends EdalDate> collection)
-
clear
public void clear()
-
compareTo
public int compareTo(UntypedData datatype)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UntypedData>
- Overrides:
compareTo
in classUntypedData
-
contains
public boolean contains(java.lang.Object object)
-
containsAll
public boolean containsAll(java.util.Collection<?> collection)
-
equals
public boolean equals(java.lang.Object object)
- Specified by:
equals
in interfacejava.util.Collection<EdalDate>
- Specified by:
equals
in interfacejava.util.Set<EdalDate>
- Overrides:
equals
in classUntypedData
- Parameters:
object
- the object to compare- Returns:
- true or false
- See Also:
Set.equals(java.lang.Object)
-
getSet
public java.util.Set<EdalDate> getSet()
- Returns:
- the set
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.util.Collection<EdalDate>
- Specified by:
hashCode
in interfacejava.util.Set<EdalDate>
- Overrides:
hashCode
in classUntypedData
- Returns:
- hashCode
- See Also:
Set.hashCode()
-
isEmpty
public boolean isEmpty()
-
iterator
public java.util.Iterator<EdalDate> iterator()
-
remove
public boolean remove(java.lang.Object object)
-
removeAll
public boolean removeAll(java.util.Collection<?> collection)
-
retainAll
public boolean retainAll(java.util.Collection<?> collection)
-
setSet
public void setSet(java.util.Set<EdalDate> set)
- Parameters:
set
- the set to set
-
size
public int size()
-
toArray
public java.lang.Object[] toArray()
-
toArray
public <T> T[] toArray(T[] array)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classUntypedData
-
toHTML
public java.lang.String toHTML()
Return a String representation for the HTML pages of the HTTP-Listener- Overrides:
toHTML
in classUntypedData
- Returns:
- the HTML representation.
-
-