/* * @(#) Anchorage 0_97_0 08/07/2009 * */ package org.omg.sopes0_97_0.PSM.Wrapper; import org.omg.sopes0_97_0.PSM.Tuple; /** * * Anchorage * @author ASMG * @version 0_97_0 08/07/2009 */ public class Anchorage { public Anchorage ( Tuple tuple ) { if( tuple == null ) { throw new IllegalArgumentException(); } m_tuple = tuple; } public Anchorage ( 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 = "10000263"; //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; }