Package de.ailis.jollada.model

Examples of de.ailis.jollada.model.GeometryLibrary


     *            The element attributes
     */

    private void enterLibraryGeometries(final Attributes attributes)
    {
        this.geometryLibrary = new GeometryLibrary();
        this.geometryLibrary.setName(attributes.getValue("name"));
        this.geometryLibrary.setId(attributes.getValue("id"));
        enterElement(ParserMode.LIBRARY_GEOMETRIES);
    }
View Full Code Here


     */

    @Test
    public void testConstructor()
    {
        final GeometryLibrary lib = new GeometryLibrary();
        assertNull(lib.getName());
        assertNull(lib.getAsset());
        assertEquals(0, lib.getGeometries().size());
    }
View Full Code Here

     */

    @Test
    public void testAsset()
    {
        final GeometryLibrary lib = new GeometryLibrary();
        assertNull(lib.getAsset());
        lib.setAsset(new Asset());
        assertNotNull(lib.getAsset());
        lib.setAsset(null);
        assertNull(lib.getAsset());
    }
View Full Code Here

     */

    @Test
    public void testId()
    {
        final GeometryLibrary lib = new GeometryLibrary();
        assertNull(lib.getId());
        lib.setId("foo");
        assertEquals("foo", lib.getId());
        lib.setId(null);
        assertNull(lib.getId());
    }
View Full Code Here

     */

    @Test
    public void testName()
    {
        final GeometryLibrary lib = new GeometryLibrary();
        assertNull(lib.getName());
        lib.setName("foo");
        assertEquals("foo", lib.getName());
        lib.setName(null);
        assertNull(lib.getName());
    }
View Full Code Here

TOP

Related Classes of de.ailis.jollada.model.GeometryLibrary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.