Class AMFDataTrait


  • public class AMFDataTrait
    extends Object

    AMF trait used to describe an AMF class in AMF3

    • Constructor Detail

      • AMFDataTrait

        public AMFDataTrait()
        Constructor
    • Method Detail

      • clone

        public AMFDataTrait clone()
        clone the trait
        Overrides:
        clone in class Object
      • addMember

        public void addMember​(String member)
        Add a member
        Parameters:
        member - member name
      • isMember

        public boolean isMember​(String member)
        Return true if member of this trait
        Parameters:
        member - member name
        Returns:
        true, if member
      • getMembers

        public java.util.List<String> getMembers()
        Get a list of trait members
        Returns:
        list of trait members
      • getMemberCount

        public int getMemberCount()
        Get the number of members
        Returns:
        number of members
      • getMember

        public String getMember​(int i)
        Get member by index
        Parameters:
        i - index
        Returns:
        member name
      • getClassName

        public String getClassName()
        Get class name
        Returns:
        class name
      • setClassName

        public void setClassName​(String className)
        Set class name
        Parameters:
        className - class name
      • isDynamic

        public boolean isDynamic()
        Is class dynamic
        Returns:
        true, if dynamic
      • setDynamic

        public void setDynamic​(boolean isDynamic)
        Set isDynamic
        Parameters:
        isDynamic - true, if dynamic
      • getInnerObj

        public AMFData getInnerObj()
        Get inner object
        Returns:
        inner object
      • setInnerObj

        public void setInnerObj​(AMFData innerObj)
        Set inner object
        Parameters:
        innerObj - inner object