Attribute.java #1

  • //
  • guest/
  • paul_allen/
  • JournalReader/
  • main/
  • src/
  • main/
  • java/
  • journal/
  • schema/
  • Attribute.java
  • View
  • Commits
  • Open Download .zip Download (588 B)
package journal.schema;

public class Attribute {
	private String name;
	private Domain domain;
	
	public Attribute(String name, Domain domain) {
		this.name = name;
		this.domain = domain;
	}

	public Domain getDomain() {
		return domain;
	}

	public String getName() {
		return name;
	}
	
	public boolean equals(Object o) {
		if (o == this) {
			return true;
		}
		else {
			if (o.getClass() == getClass()) {
				Attribute other = (Attribute) o;
				return (other.name.equals(name));
			}
		}
		
		return false;
	}
	
	public String toString() {
		return name + "(" + domain + ")";
	}
}
# Change User Description Committed
#1 24045 Paul Allen Branch JournalReader
//guest/sven_erik_knop/java/JournalReader/src/journal/schema/Attribute.java
#1 7589 Sven Erik Knop Rescue attempt to recover missing files from the JournalReader
//guest/sven_erik_knop/JournalReader/src/journal/schema/Attribute.java
#2 7375 Sven Erik Knop Major update of the JournalReader.

Complete rewrite of the command line parsing
Change in the options parsing within the journal reader
New SQLLoader action.  Currently only against MySQL (needs MySQL JDBC driver) with fixed database and user name. This will be replaced by a config file at some stage.
#1 7374 Sven Erik Knop Rename/move file(s) - correct location for Eclipse project
//guest/sven_erik_knop/JournalReader/journal/schema/Attribute.java
#1 6467 Sven Erik Knop Added JournalReader, a Java library of useful tools to read and process checkpoints and journals.
Added are a readme.txt to explain some details, and a jar file that contains the compiled class files.

The programs will need Java 1.6 to run.