Class EnvelopedAspect


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-12-06T11:25:47.362934Z[Etc/UTC]")
    public class EnvelopedAspect
    extends java.lang.Object
    An aspect, along with the metadata about it. Currently, an aspect can be either of type 'timestamp' or 'versioned'.
    • Constructor Detail

      • EnvelopedAspect

        public EnvelopedAspect()
    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        The name of the aspect
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • getType

        @NotNull
        @Valid
        public @NotNull @Valid AspectType getType()
        Get type
        Returns:
        type
      • setType

        public void setType​(AspectType type)
      • getVersion

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getVersion()
        The version of the aspect, only populated if type is 'VERSIONED' minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.Long version)
      • timestamp

        public EnvelopedAspect timestamp​(java.lang.Long timestamp)
      • getTimestamp

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTimestamp()
        The timestamp of the aspect, only populated if type is 'TIMESTAMP' minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        timestamp
      • setTimestamp

        public void setTimestamp​(java.lang.Long timestamp)
      • getCreated

        @NotNull
        @Valid
        public @NotNull @Valid AuditStamp getCreated()
        Get created
        Returns:
        created
      • setCreated

        public void setCreated​(AuditStamp created)
      • getSystemMetadata

        @Valid
        public @Valid SystemMetadata getSystemMetadata()
        Get systemMetadata
        Returns:
        systemMetadata
      • setSystemMetadata

        public void setSystemMetadata​(SystemMetadata systemMetadata)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object