Package com.kenshoo.pl.entity.audit
Class AuditRecord
- java.lang.Object
-
- com.kenshoo.pl.entity.audit.AuditRecord
-
public class AuditRecord extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditRecord.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<? extends AuditRecord>getChildRecords()java.lang.StringgetEntityId()java.lang.StringgetEntityType()java.util.Collection<? extends FieldAuditRecord>getFieldRecords()java.util.Collection<? extends FieldValue>getMandatoryFieldValues()ChangeOperationgetOperator()booleanhasNoChanges()java.lang.StringtoString()Generates a deep string representation of the entire hierarchy of records.
WARNING: if there are many nested levels of child records, will have poor performance!java.lang.StringtoString(int maxDepth)Generates a deep string representation limited to the given number of nested levels.
-
-
-
Method Detail
-
getEntityType
public java.lang.String getEntityType()
-
getEntityId
public java.lang.String getEntityId()
-
getMandatoryFieldValues
public java.util.Collection<? extends FieldValue> getMandatoryFieldValues()
-
getOperator
public ChangeOperation getOperator()
-
getFieldRecords
public java.util.Collection<? extends FieldAuditRecord> getFieldRecords()
-
getChildRecords
public java.util.Collection<? extends AuditRecord> getChildRecords()
-
hasNoChanges
public boolean hasNoChanges()
-
toString
public java.lang.String toString()
Generates a deep string representation of the entire hierarchy of records.
WARNING: if there are many nested levels of child records, will have poor performance!- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(int maxDepth)
Generates a deep string representation limited to the given number of nested levels.- Parameters:
maxDepth- maximum depth of recursion, must be at least one (one means without child records).
-
-