public class IbisAttribute extends Object
null
.Modifier and Type | Field and Description |
---|---|
Long |
attrid
The unique internal identifier of the attribute.
|
byte[] |
binaryData
The binary data held in the attribute (e.g., a JPEG photo).
|
String |
comment
Any comment associated with the attribute.
|
Date |
effectiveFrom
For time-limited attributes, the date from which it takes effect.
|
Date |
effectiveTo
For time-limited attributes, the date after which it is no longer effective.
|
String |
instid
For a person attribute, the optional institution that the attribute
is associated with.
|
String |
owningGroupid
For a person attribute, the ID of the group that owns it (typically
the user agent group that created it).
|
String |
scheme
The attribute's scheme.
|
String |
value
The attribute's value (except for binary attributes).
|
String |
visibility
For a person attribute, it's visibility (
"private" ,
"institution" , "university" or "world" ). |
Constructor and Description |
---|
IbisAttribute() |
Modifier and Type | Method and Description |
---|---|
String |
encodedString()
Encode this attribute as an ASCII string suitable for passing as a
parameter to a web service API method.
|
static IbisAttribute |
valueOf(String encodedStr)
Create an IbisAttribute from its ASCII encoded string representation.
|
public Long attrid
public String scheme
public String value
public byte[] binaryData
public String comment
public String instid
public String visibility
"private"
,
"institution"
, "university"
or "world"
). This
will not be set for institution attributes.public Date effectiveFrom
public Date effectiveTo
public String owningGroupid
public String encodedString()
valueOf(java.lang.String)
.
NOTE: This requires that the attribute's scheme
field be
set, and typically the value
or binaryData
should
also be set.
public static IbisAttribute valueOf(String encodedStr) throws ParseException
encodedStr
- The ASCII string encoding of the attribute, as
produced by encodedString()
.ParseException