/** * Create an instance of {@link PieceOfKnowledge } * */ public PieceOfKnowledge createPieceOfKnowledge() { return new PieceOfKnowledge(); }
/** * Create an instance of {@link Resource } * */ public Resource createResource() { return new Resource(); }
/** * Create an instance of {@link SpatioTemporalSegment } * */ public SpatioTemporalSegment createSpatioTemporalSegment() { return new SpatioTemporalSegment(); }
/** * @param theSegment * Segment to test "be include" by <code>inThisSegment</code> * @param inThisSegment * Segment to test "includes" <code>theSegment</code> * @return <code>false</code> <code>theSegment</code> isn't included in <code>inThisSegment</code>. <code>true</code> if they are included. */ private static boolean isIncludedTemporal(final TemporalSegment theSegment, final TemporalSegment inThisSegment) { return (theSegment.getStart() >= inThisSegment.getStart()) && (theSegment.getEnd() <= inThisSegment.getEnd()); }
/** * Create an instance of {@link Coordinate } * */ public Coordinate createCoordinate() { return new Coordinate(); }
/** * Create an instance of {@link Annotation } * */ public Annotation createAnnotation() { return new Annotation(); }
/** * Create an instance of {@link LowLevelDescriptor } * */ public LowLevelDescriptor createLowLevelDescriptor() { return new LowLevelDescriptor(); }
/** * Create an instance of {@link Text } * */ public Text createText() { return new Text(); }
/** * Create an instance of {@link ComposedResource } * */ public ComposedResource createComposedResource() { return new ComposedResource(); }
/** * Create an instance of {@link Video } * */ public Video createVideo() { return new Video(); }
/** * Create an instance of {@link TemporalSegment } * */ public TemporalSegment createTemporalSegment() { return new TemporalSegment(); }
/** * Create an instance of {@link TrackSegment } * */ public TrackSegment createTrackSegment() { return new TrackSegment(); }
/** * Create an instance of {@link StringQuery } * */ public StringQuery createStringQuery() { return new StringQuery(); }
/** * Create an instance of {@link Audio } * */ public Audio createAudio() { return new Audio(); }
/** * Create an instance of {@link LinearSegment } * */ public LinearSegment createLinearSegment() { return new LinearSegment(); }
/** * Create an instance of {@link Document } * */ public Document createDocument() { return new Document(); }
/** * Create an instance of {@link ResultSet } * */ public ResultSet createResultSet() { return new ResultSet(); }
/** * Create an instance of {@link ComposedQuery } * */ public ComposedQuery createComposedQuery() { return new ComposedQuery(); }
/** * Create an instance of {@link SpatialSegment } * */ public SpatialSegment createSpatialSegment() { return new SpatialSegment(); }
/** * Create an instance of {@link SimilarityQuery } * */ public SimilarityQuery createSimilarityQuery() { return new SimilarityQuery(); }