Class AbstractEnumConfiguration
- java.lang.Object
-
- com.github.toolarium.enumeration.configuration.dto.AbstractEnumConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
EnumConfiguration
,EnumKeyConfiguration
public abstract class AbstractEnumConfiguration extends java.lang.Object implements java.io.Serializable
Defines the abstract enum configuration- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractEnumConfiguration()
Constructor for AbstractEnumConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getDescription()
Get the configuration descriptionjava.time.Instant
getValidFrom()
Get the valid fromjava.time.Instant
getValidTill()
Get the valid tillint
hashCode()
void
setDescription(java.lang.String description)
Set the configuration descriptionvoid
setValidFrom(java.time.Instant validFrom)
Set the valid fromvoid
setValidTill(java.time.Instant validTill)
Set the valid till
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Get the configuration description- Returns:
- the configuration description
-
setDescription
public void setDescription(java.lang.String description)
Set the configuration description- Parameters:
description
- the configuration description
-
getValidFrom
public java.time.Instant getValidFrom()
Get the valid from- Returns:
- the valid from
-
setValidFrom
public void setValidFrom(java.time.Instant validFrom)
Set the valid from- Parameters:
validFrom
- the valid from
-
getValidTill
public java.time.Instant getValidTill()
Get the valid till- Returns:
- the valid till
-
setValidTill
public void setValidTill(java.time.Instant validTill)
Set the valid till- Parameters:
validTill
- the valid till
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
-