Klasse CscAttribute

java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscAttribute
Alle implementierten Schnittstellen:
Serializable

public class CscAttribute extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected String id
      String identifier of the attribute
    • contentType

      protected String contentType
      The MIME type of the attribute
    • contentLength

      protected Long contentLength
      Actual size in bytes of the attribute
    • stringValue

      protected String stringValue
      The attribute value, if it is a string attribute
    • dateValue

      protected String dateValue
      The attribute value in UTC, if it is a string attribute
    • integerValue

      protected Long integerValue
      The attribute value, if it is an integer attribute
  • Konstruktordetails

    • CscAttribute

      public CscAttribute()
      Creates a new CscAttribute.
    • CscAttribute

      public CscAttribute(String id, String contentType, Long contentLength, String stringValue, String dateValue, Long integerValue)
      Creates a new CscAttribute.
  • Methodendetails

    • getId

      @NotNull public @NotNull String getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(String id)
      Set the id.
      Parameter:
      id - the new id
    • getContentType

      @NotNull public @NotNull String getContentType()
      Returns the contentType.
      Gibt zurück:
      contentType
    • setContentType

      public void setContentType(String contentType)
      Set the contentType.
      Parameter:
      contentType - the new contentType
    • getContentLength

      @NotNull public @NotNull Long getContentLength()
      Returns the contentLength.
      Gibt zurück:
      contentLength
    • setContentLength

      public void setContentLength(Long contentLength)
      Set the contentLength.
      Parameter:
      contentLength - the new contentLength
    • getStringValue

      public String getStringValue()
      Returns the stringValue.
      Gibt zurück:
      stringValue
    • setStringValue

      public void setStringValue(String stringValue)
      Set the stringValue.
      Parameter:
      stringValue - the new stringValue
    • getDateValue

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getDateValue()
      Returns the dateValue.
      Gibt zurück:
      dateValue
    • setDateValue

      public void setDateValue(String dateValue)
      Set the dateValue.
      Parameter:
      dateValue - the new dateValue
    • getIntegerValue

      public Long getIntegerValue()
      Returns the integerValue.
      Gibt zurück:
      integerValue
    • setIntegerValue

      public void setIntegerValue(Long integerValue)
      Set the integerValue.
      Parameter:
      integerValue - the new integerValue
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object