Class AbstractCLTypeWithChildren

    • Constructor Detail

      • AbstractCLTypeWithChildren

        public AbstractCLTypeWithChildren()
    • Method Detail

      • setChildTypeObjects

        protected void setChildTypeObjects​(java.util.List<java.lang.Object> childTypeObjects)
                                    throws java.lang.InstantiationException,
                                           java.lang.IllegalAccessException,
                                           java.lang.IllegalArgumentException,
                                           java.lang.reflect.InvocationTargetException,
                                           java.lang.NoSuchMethodException,
                                           java.lang.SecurityException,
                                           NoSuchTypeException
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.IllegalArgumentException
        java.lang.reflect.InvocationTargetException
        java.lang.NoSuchMethodException
        java.lang.SecurityException
        NoSuchTypeException
      • getChildTypeObjects

        protected java.util.List<java.lang.Object> getChildTypeObjects()
      • isDeserializable

        public boolean isDeserializable()
        Description copied from class: AbstractCLType
        Indicates if the CLType does not contains and 'Any', or other un-deserializable child type from bytes. The reason for this is the 'Any' type does not provide a length for its bytes. This type information is obtained from the JSON metadata.
        Specified by:
        isDeserializable in class AbstractCLType
        Returns:
        true if can be serialized, i.e: a child, or child's child does not contain a deserializable value such as an 'Any' type.
      • loadCLTypes

        protected void loadCLTypes​(java.util.List<java.lang.Object> childTypeObjects)
                            throws java.lang.InstantiationException,
                                   java.lang.IllegalAccessException,
                                   java.lang.IllegalArgumentException,
                                   java.lang.reflect.InvocationTargetException,
                                   java.lang.NoSuchMethodException,
                                   java.lang.SecurityException,
                                   NoSuchTypeException
        Throws:
        java.lang.InstantiationException
        java.lang.IllegalAccessException
        java.lang.IllegalArgumentException
        java.lang.reflect.InvocationTargetException
        java.lang.NoSuchMethodException
        java.lang.SecurityException
        NoSuchTypeException
      • setChildTypes

        public void setChildTypes​(java.util.List<AbstractCLType> childTypes)
      • getChildTypes

        public java.util.List<AbstractCLType> getChildTypes()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object