Package org.opencms.importexport
Class CmsImportVersion10.RelationData
- java.lang.Object
-
- org.opencms.importexport.CmsImportVersion10.RelationData
-
- Enclosing class:
- CmsImportVersion10
public static class CmsImportVersion10.RelationData extends java.lang.Object
Data class to temporarily keep track of relation data for a resource to be imported.
-
-
Constructor Summary
Constructors Constructor Description RelationData(java.lang.String target, CmsUUID targetId, CmsRelationType type)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object otherObj)
java.lang.String
getTarget()
Gets the relation target path.CmsUUID
getTargetId()
Gets the relation target structure id.CmsRelationType
getType()
Gets the relation type.int
hashCode()
-
-
-
Constructor Detail
-
RelationData
public RelationData(java.lang.String target, CmsUUID targetId, CmsRelationType type)
Creates a new instance.- Parameters:
target
- the relation target pathtargetId
- the relation target structure idtype
- the relation type
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object otherObj)
- Overrides:
equals
in classjava.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
-
getType
public CmsRelationType getType()
Gets the relation type.- Returns:
- the relation type
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
-