org.faktorips.runtime
Class GenerationId

java.lang.Object
  extended by org.faktorips.runtime.GenerationId
All Implemented Interfaces:
Comparable<GenerationId>

public class GenerationId
extends Object
implements Comparable<GenerationId>

The identification of a generation consists of the qualified product component name and the valid from date.

Author:
Jan Ortmann

Constructor Summary
GenerationId(String name, DateTime validFrom)
           
 
Method Summary
 int compareTo(GenerationId other)
           
 boolean equals(Object obj)
           
 String getQName()
           
 DateTime getValidFrom()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenerationId

public GenerationId(String name,
                    DateTime validFrom)
Method Detail

getQName

public String getQName()

getValidFrom

public DateTime getValidFrom()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(GenerationId other)
Specified by:
compareTo in interface Comparable<GenerationId>


Copyright © 2015. All rights reserved.