Class A3DObject

  • java.lang.Object
    • com.aspose.threed.A3DObject
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The name of the current object.
      protected PropertyCollection properties
      The properties of the current object.
    • Constructor Summary

      Constructors 
      Constructor Description
      A3DObject()
      Initializes a new instance of the A3DObject class with no name.
      A3DObject​(java.lang.String name)
      Initializes a new instance of the A3DObject class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Property findProperty​(java.lang.String propertyName)
      Finds the property.
      java.lang.String getName()
      Gets the name.
      PropertyCollection getProperties()
      Gets the collection of all properties.
      java.lang.Object getProperty​(java.lang.String property)
      Get the value of specified property
      boolean removeProperty​(Property property)
      Removes a dynamic property.
      boolean removeProperty​(java.lang.String property)
      Remove the specified property identified by name
      void setName​(java.lang.String value)
      Sets the name.
      void setProperty​(java.lang.String property, java.lang.Object value)
      Sets the value of specified property
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
        The name of the current object.
      • properties

        protected PropertyCollection properties
        The properties of the current object.
    • Constructor Detail

      • A3DObject

        public A3DObject​(java.lang.String name)
        Initializes a new instance of the A3DObject class.
        Parameters:
        name - Name
      • A3DObject

        public A3DObject()
        Initializes a new instance of the A3DObject class with no name.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the name.
        Specified by:
        getName in interface INamedObject
      • setName

        public void setName​(java.lang.String value)
        Sets the name.
        Parameters:
        value - New value
      • removeProperty

        public boolean removeProperty​(Property property)
        Removes a dynamic property.
        Parameters:
        property - Which property to remove
        Returns:
        true if the property is successfully removed
      • removeProperty

        public boolean removeProperty​(java.lang.String property)
        Remove the specified property identified by name
        Parameters:
        property -
      • getProperty

        public java.lang.Object getProperty​(java.lang.String property)
        Get the value of specified property
        Parameters:
        property - Property name
        Returns:
        The value of the found property
      • setProperty

        public void setProperty​(java.lang.String property,
                                java.lang.Object value)
        Sets the value of specified property
        Parameters:
        property - Property name
        value - The value of the property
      • findProperty

        public Property findProperty​(java.lang.String propertyName)
        Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
        Parameters:
        propertyName - Property name.
        Returns:
        The property.
      • getProperties

        public PropertyCollection getProperties()
        Gets the collection of all properties.