Record Class ChainEnd
java.lang.Object
java.lang.Record
org.exoplatform.documents.storage.jcr.model.ChainEnd
- Record Components:
id- the id of the node ending the chain, null when the chain is brokennode- the node ending the chain, null when the chain is brokentype- that node's type, null when the chain is broken
public record ChainEnd(String id, javax.jcr.Node node, org.exoplatform.documents.constant.DocumentNodeType type)
extends Record
Where a chain of shortcuts ends, as
DocumentNodeDescriber follows it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.javax.jcr.Nodenode()Returns the value of thenoderecord component.final StringtoString()Returns a string representation of this record class.org.exoplatform.documents.constant.DocumentNodeTypetype()Returns the value of thetyperecord component.
-
Constructor Details
-
ChainEnd
public ChainEnd(String id, javax.jcr.Node node, org.exoplatform.documents.constant.DocumentNodeType type) Creates an instance of aChainEndrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
node
public javax.jcr.Node node()Returns the value of thenoderecord component.- Returns:
- the value of the
noderecord component
-
type
public org.exoplatform.documents.constant.DocumentNodeType type()Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-