1 /* 2 * @(#)Identifiable.java 1.10 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 9 package com.sun.corba.se.spi.ior; 10 11 12 /** This interface represents an entity that can be written to an 13 * OutputStream and has an identity that is represented by an integer. 14 * This identity is essentially the type of the entity, and is used in 15 * order to know how to read the entity back from an InputStream. 16 * @author Ken Cavanaugh 17 */ 18 public interface Identifiable extends Writeable 19 { 20 /** Return the (type) identity of this entity. 21 * @return int 22 */ 23 public int getId(); 24 } 25