/* * @(#) Railway 0_97_0 08/07/2009 * */ package org.omg.sopes0_97_0.PSM.Wrapper; import org.omg.sopes0_97_0.PSM.Tuple; /** * * Railway * @author ASMG * @version 0_97_0 08/07/2009 */ public class Railway { public Railway ( Tuple tuple ) { if( tuple == null ) { throw new IllegalArgumentException(); } m_tuple = tuple; } public Railway ( String identifier ) { this( findDbRecord( identifier ) ); } public static String getEntityIdentifier() { return ENTITY_IDENTIFIER; } public String getAttributeValue( String attrName ) { return m_tuple.retrieveAttrValue( attrName ); } private static Tuple findDbRecord( String identifier ) { return null; //no implement } private static final String ENTITY_IDENTIFIER = "10000310"; //value taken from Information Resource Dictionary for JC3 table private static final String ENTITY_DEPTH_CNT = "3"; //value taken from Information Resource Dictionary for JC3 table private Tuple m_tuple = null; }