All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cds.services.auditlog.DataObject Maven / Gradle / Ivy

There is a newer version: 3.4.1
Show newest version
/**************************************************************************
 * (C) 2019-2024 SAP SE or an SAP affiliate company. All rights reserved. *
 **************************************************************************/
package com.sap.cds.services.auditlog;

import java.util.Collection;

import com.sap.cds.CdsData;
import com.sap.cds.Struct;
import com.sap.cds.ql.CdsName;

/**
 * The object where the accessed or modified personal data that
 * is being audit logged is contained.
 */
@CdsName("com.sap.cds.services.auditlog.Object")
public interface DataObject extends CdsData {
  String TYPE = "type";

  String ID = "id";

  /**
   * The object type.
   */
  String getType();

  /**
   * The object type.
   */
  void setType(String type);

  /**
   * The unique object identifier.
   */
  Collection getId();

  /**
   * The unique object identifier.
   */
  void setId(Collection id);

  static DataObject create() {
    return Struct.create(DataObject.class);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy