You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2015/11/02 02:28:21 UTC

svn commit: r1711871 - /uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java

Author: schor
Date: Mon Nov  2 01:28:21 2015
New Revision: 1711871

URL: http://svn.apache.org/viewvc?rev=1711871&view=rev
Log:
[UIMA-4666] remove refs to _type classes which are no longer provided.

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java?rev=1711871&r1=1711870&r2=1711871&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/jcas/JCas.java Mon Nov  2 01:28:21 2015
@@ -50,7 +50,6 @@ import org.apache.uima.jcas.cas.IntegerA
 import org.apache.uima.jcas.cas.Sofa;
 import org.apache.uima.jcas.cas.StringArray;
 import org.apache.uima.jcas.cas.TOP;
-import org.apache.uima.jcas.cas.TOP_Type;
 import org.apache.uima.jcas.tcas.Annotation;
 
 /**
@@ -98,15 +97,6 @@ public interface JCas extends AbstractCa
   public abstract LowLevelCAS getLowLevelCas();
 
   /**
-   * get the JCas _Type instance for a particular CAS type constant
-   * 
-   * @param i
-   *          the CAS type constant, written as Foo.type
-   * @return the instance of the JCas xxx_Type object for the specified type
-   */
-  public abstract TOP_Type getType(int i);
-
-  /**
    * Given Foo.type, return the corresponding CAS Type object. This is useful in the methods which
    * require a CAS Type, for instance iterator creation.
    * 
@@ -116,16 +106,6 @@ public interface JCas extends AbstractCa
    */
   public abstract Type getCasType(int i);
 
-  /**
-   * get the JCas x_Type instance for a particular Java instance of a type
-   * 
-   * @param instance instance
-   * @return the associated xxx_Type instance
-   * @deprecated use instance.jcasType instead - faster
-   */
-  @Deprecated
-  public abstract TOP_Type getType(TOP instance);
-
   /*
    * Internal use - looks up a type-name-string in the CAS type system and returns the Cas Type
    * object. Throws CASException if the type isn't found
@@ -141,30 +121,22 @@ public interface JCas extends AbstractCa
   /*
    * Internal Use - look up a feature-name-string in the CAS type system and returns the Cas Feature
    * object. If the feature isn't found, adds an exception to the errorSet but doesn't throw
+   * 
+   * DE suffix means "Deferred Exception"
    */
 
   public abstract Feature getRequiredFeatureDE(Type t, String s, String rangeName, boolean featOkTst);
 
   /*
-   * Internal Use - sets the corresponding Java instance for a Cas instance
-   */
-  public abstract void putJfsFromCaddr(int casAddr, FeatureStructure fs);
-
-  /*
-   * Internal Use - sets the corresponding Java instance for a Cas instance
-   */
-  public abstract <T extends TOP> T getJfsFromCaddr(int casAddr);
-
-  /*
    * Internal Use. 
    */
   public abstract void checkArrayBounds(int fsRef, int pos);
 
-  /*
-   * Internal Use - throw missing feature exception at runtime.
-   */
-  public void throwFeatMissing(String feat, String type);
-  
+//  /*
+//   * Internal Use - throw missing feature exception at runtime.
+//   */
+//  public void throwFeatMissing(String feat, String type);
+//  
   /**
    * @deprecated As of v2.0, use {#getView(String)}. From the view you can access the Sofa data, or
    *             call {@link #getSofa()} if you truly need to access the SofaFS object.