Class CmsImportVersion10.RelationData

    • Constructor Detail

      • RelationData

        public RelationData​(java.lang.String target,
                            CmsUUID targetId,
                            CmsRelationType type)
        Creates a new instance.

        Parameters:
        target - the relation target path
        targetId - the relation target structure id
        type - the relation type
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object otherObj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • getTarget

        public java.lang.String getTarget()
        Gets the relation target path.

        Returns:
        the relation target path
      • getTargetId

        public CmsUUID getTargetId()
        Gets the relation target structure id.

        Returns:
        the relation target structure id
      • hashCode

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