Class ObjectReference
- java.lang.Object
-
- com.iknowbase.api.contentservices.v2.model.ObjectReference
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DocumentReference
public class ObjectReference extends Object implements Serializable
Java class for objectReference complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="objectReference"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="guid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="externalKey" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectReference()
Default no-arg constructorObjectReference(ObjectReference other)
ObjectReference(Integer id)
ObjectReference(String externalKey)
ObjectReference(String guid, Integer id, String externalKey, String label)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExternalKey()
Gets the value of the externalKey property.String
getGuid()
Gets the value of the guid property.Integer
getId()
Gets the value of the id property.String
getLabel()
Gets the value of the label property.void
setExternalKey(String value)
Sets the value of the externalKey property.void
setGuid(String value)
Sets the value of the guid property.void
setId(Integer value)
Sets the value of the id property.void
setLabel(String value)
Sets the value of the label property.String
toString()
ObjectReference
withExternalKey(String value)
ObjectReference
withGuid(String value)
ObjectReference
withId(Integer value)
ObjectReference
withLabel(String value)
-
-
-
Constructor Detail
-
ObjectReference
public ObjectReference()
Default no-arg constructor
-
ObjectReference
public ObjectReference(String guid, Integer id, String externalKey, String label)
Fully-initialising value constructor
-
ObjectReference
public ObjectReference(Integer id)
-
ObjectReference
public ObjectReference(String externalKey)
-
ObjectReference
public ObjectReference(ObjectReference other)
-
-
Method Detail
-
getGuid
public String getGuid()
Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
public void setGuid(String value)
Sets the value of the guid property.- Parameters:
value
- allowed object isString
-
setId
public void setId(Integer value)
Sets the value of the id property.- Parameters:
value
- allowed object isInteger
-
getExternalKey
public String getExternalKey()
Gets the value of the externalKey property.- Returns:
- possible object is
String
-
setExternalKey
public void setExternalKey(String value)
Sets the value of the externalKey property.- Parameters:
value
- allowed object isString
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value
- allowed object isString
-
withGuid
public ObjectReference withGuid(String value)
-
withId
public ObjectReference withId(Integer value)
-
withExternalKey
public ObjectReference withExternalKey(String value)
-
withLabel
public ObjectReference withLabel(String value)
-
-