Есть ли способ переопределить методы equals()
и hashCode()
для типов из *-items.xml
? Например:
<itemtype code="FaqParagraph" extends="GenericItem" autocreate="true" generate="true"
jaloclass="com.training.core.jalo.FaqParagraph">
<deployment table="FaqParagraph" typecode="20004"/>
<attributes>
<attribute qualifier="code" type="java.lang.String">
<modifiers initial="true" write="false" optional="false"/>
<persistence type="property"/>
</attribute>
</attributes>
</itemtype>
Есть ли способ переопределить equals()
и hashCode()
для FaqParagraphModel
?