Class Agent

    • Constructor Detail

      • Agent

        public Agent()
    • Method Detail

      • isEmpty

        @AssertFalse(message="Agent must not be empty")
        public @jakarta.validation.constraints.AssertFalse(message="Agent must not be empty") boolean isEmpty()
        Specified by:
        isEmpty in interface JSONObject
        Overrides:
        isEmpty in class AbstractActor
      • isIdentifiedAgent

        @AssertTrue(message="Agent must have exactly 1 Inverse Functional Identifier (IFI)")
        public @jakarta.validation.constraints.AssertTrue(message="Agent must have exactly 1 Inverse Functional Identifier (IFI)") boolean isIdentifiedAgent()
        Assertion that the Agent has only 1 Inverse Functional Identifier (IFI).
        Returns:
        true if the Agent has exactly 1 IFI, false otherwise