Class NSForeignDevice
Saves a foreign device belonging to the ForeignDevice and application name specified.
Syntax
Constructors
NSForeignDevice()
Initializes a new instance of the NSForeignDevice class.
Declaration
NSForeignDevice
Methods
GetAssociateFullName()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
String GetAssociateFullName()
Returns
Type | Description |
---|---|
String | The person owning the Foreign Device. |
Examples
NSForeignDevice thing;
String associateFullName = thing.GetAssociateFullName();
GetCreatedBy()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
String GetCreatedBy()
Returns
Type | Description |
---|---|
String | The person that created the device. |
Examples
NSForeignDevice thing;
String createdBy = thing.GetCreatedBy();
GetCreatedDate()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
DateTime GetCreatedDate()
Returns
Type | Description |
---|---|
DateTime | Registered when. |
Examples
NSForeignDevice thing;
DateTime createdDate = thing.GetCreatedDate();
GetDeviceIdentifier()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
String GetDeviceIdentifier()
Returns
Type | Description |
---|---|
String | Optional unique ID of device (Palm pilot device ID, etc). |
Examples
NSForeignDevice thing;
String deviceIdentifier = thing.GetDeviceIdentifier();
GetForeignAppId()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Integer GetForeignAppId()
Returns
Type | Description |
---|---|
Integer | Reference to foreign application (device type). |
Examples
NSForeignDevice thing;
Integer foreignAppId = thing.GetForeignAppId();
GetForeignDeviceId()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Integer GetForeignDeviceId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSForeignDevice thing;
Integer foreignDeviceId = thing.GetForeignDeviceId();
GetName()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Name of device. |
Examples
NSForeignDevice thing;
String name = thing.GetName();
GetUpdatedBy()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
String GetUpdatedBy()
Returns
Type | Description |
---|---|
String | The person that last updated this device. |
Examples
NSForeignDevice thing;
String updatedBy = thing.GetUpdatedBy();
GetUpdatedDate()
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
DateTime GetUpdatedDate()
Returns
Type | Description |
---|---|
DateTime | Last updated when. |
Examples
NSForeignDevice thing;
DateTime updatedDate = thing.GetUpdatedDate();
SetAssociateFullName(String)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetAssociateFullName(String associateFullName)
Parameters
Type | Name | Description |
---|---|---|
String | associateFullName | The person owning the Foreign Device. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
String associateFullName;
thing.SetAssociateFullName(associateFullName);
SetCreatedBy(String)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetCreatedBy(String createdBy)
Parameters
Type | Name | Description |
---|---|---|
String | createdBy | The person that created the device. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
String createdBy;
thing.SetCreatedBy(createdBy);
SetCreatedDate(DateTime)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetCreatedDate(DateTime createdDate)
Parameters
Type | Name | Description |
---|---|---|
DateTime | createdDate | Registered when. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
DateTime createdDate;
thing.SetCreatedDate(createdDate);
SetDeviceIdentifier(String)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetDeviceIdentifier(String deviceIdentifier)
Parameters
Type | Name | Description |
---|---|---|
String | deviceIdentifier | Optional unique ID of device (Palm pilot device ID, etc). |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
String deviceIdentifier;
thing.SetDeviceIdentifier(deviceIdentifier);
SetForeignAppId(Integer)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetForeignAppId(Integer foreignAppId)
Parameters
Type | Name | Description |
---|---|---|
Integer | foreignAppId | Reference to foreign application (device type). |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
Integer foreignAppId;
thing.SetForeignAppId(foreignAppId);
SetForeignDeviceId(Integer)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetForeignDeviceId(Integer foreignDeviceId)
Parameters
Type | Name | Description |
---|---|---|
Integer | foreignDeviceId | Primary key. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
Integer foreignDeviceId;
thing.SetForeignDeviceId(foreignDeviceId);
SetName(String)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetName(String name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of device. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
String name;
thing.SetName(name);
SetUpdatedBy(String)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetUpdatedBy(String updatedBy)
Parameters
Type | Name | Description |
---|---|---|
String | updatedBy | The person that last updated this device. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
String updatedBy;
thing.SetUpdatedBy(updatedBy);
SetUpdatedDate(DateTime)
Saves a foreign device belonging to the ForeignDevice and application name specified.
Declaration
Void SetUpdatedDate(DateTime updatedDate)
Parameters
Type | Name | Description |
---|---|---|
DateTime | updatedDate | Last updated when. |
Returns
Type | Description |
---|---|
Void |
Examples
NSForeignDevice thing;
DateTime updatedDate;
thing.SetUpdatedDate(updatedDate);