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