Abstract builder for the ShareOpenGraphValueContainer class.
Prolonge : | Object |
Implémentations : | ShareModelBuilder |
Package : | model |
putBoolean(String, boolean)
Sets a boolean value in the object.
public Builder putBoolean(String key, boolean value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putBooleanArray(String, boolean)
Sets an array of boolean values in the object.
public Builder putBooleanArray(String key, boolean value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putDouble(String, double)
Sets a double value in the object.
public Builder putDouble(String key, double value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putDoubleArray(String, double)
Sets an array of double values in the object.
public Builder putDoubleArray(String key, double value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putInt(String, int)
Sets an int value in the object.
public Builder putInt(String key, int value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putIntArray(String, int)
Sets an array of int values in the object.
public Builder putIntArray(String key, int value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putLong(String, long)
Sets a long value in the object.
public Builder putLong(String key, long value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putLongArray(String, long)
Sets an array of long values in the object.
public Builder putLongArray(String key, long value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putObject(String, ShareOpenGraphObject)
Sets an object value in the object.
public Builder putObject(String key, ShareOpenGraphObject value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putObjectArrayList(String, ArrayList)
Sets an array of object values in the object.
public Builder putObjectArrayList(String key, ArrayList value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putPhoto(String, SharePhoto)
Sets a photo value in the object.
public Builder putPhoto(String key, SharePhoto value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putPhotoArrayList(String, ArrayList)
Sets an array of photo values in the object.
public Builder putPhotoArrayList(String key, ArrayList value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putString(String, String)
Sets a string value in the object.
public Builder putString(String key, String value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
putStringArrayList(String, ArrayList)
Sets an array of string values in the object.
public Builder putStringArrayList(String key, ArrayList value)
Paramètre | Description |
---|---|
key | The key for the value. |
value | The value. |
readFrom(ShareModel)
Reads the values from a ShareModel into the builder.
public ShareModelBuilder readFrom(ShareModel model)
Paramètre | Description |
---|---|
model | The source ShareModel |
readFrom(ShareOpenGraphValueContainer)
public Builder readFrom(ShareOpenGraphValueContainer model)
Paramètre | Description |
---|---|
model |