Interface NormativeId


  • public interface NormativeId
    NormativeId. The instances of an entity type that implements NormativeId will have id(s) that comply with an IdRule. For example, 6 digit id(s) such as 000001, 000002, 101010, etc.

    When creating an entity that implements NormativeId, an id will be generated according to its IdRule and assigned to the entity.

    IdRule can be managed by users.

    Since:
    3.7
    See Also:
    IdRule
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROPERTY_NID
      Property name: nid
    • Field Detail

      • PROPERTY_NID

        static final java.lang.String PROPERTY_NID
        Property name: nid
        See Also:
        Constant Field Values
    • Method Detail

      • getNid

        java.lang.String getNid()
        Get normative id
        Returns:
        id that conforms to an IdRule
      • setNid

        void setNid​(java.lang.String nid)
        Set normative id
        Parameters:
        nid - the id to set, conforming to an IdRule