org.schemarepo
Class SchemaEntry

java.lang.Object
  extended by org.schemarepo.SchemaEntry

public final class SchemaEntry
extends Object

SchemaEntry is composed of a schema and its corresponding id.


Constructor Summary
SchemaEntry(String stringForm)
          Constructor taking the string representation of the SchemaEntry produced by toString()
SchemaEntry(String id, String schema)
          Primary constructor taking a literal id and schema.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
           
 String getSchema()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaEntry

public SchemaEntry(String id,
                   String schema)
Primary constructor taking a literal id and schema.


SchemaEntry

public SchemaEntry(String stringForm)
Constructor taking the string representation of the SchemaEntry produced by toString()

Method Detail

getId

public String getId()
Returns:
the id

getSchema

public String getSchema()
Returns:
the schema

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All rights reserved.