Class PlatformInstance

java.lang.Object
com.onenetwork.platform.common.Model
com.onenetwork.platform.common.PlatformInstance
All Implemented Interfaces:
Model, java.io.Serializable

public class PlatformInstance
extends com.onenetwork.platform.common.Model
implements java.io.Serializable
A PlatformInstance represents a deployed platform instance with name, url, authorization info and state defining inMaintenanceModeUntil field.

Java class for PlatformInstance complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PlatformInstance">
   <complexContent>
     <extension base="{http://www.onenetwork.com/Platform}Model">
       <sequence>
         <element name="ActionExecTime" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="ActionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InputRefId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Error" type="{http://www.onenetwork.com/Platform}Error" minOccurs="0"/>
         <element name="CreationUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CreationDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="LastModifiedUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="LevelModifiedDate" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="ValueChainId" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="PlatformVcId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="Url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InMaintenanceModeUntil" type="{http://www.onenetwork.com/Platform}DateTime" minOccurs="0"/>
         <element name="UseSameFileSystem" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="AuthUsername" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AuthPassword" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OAuthOBTokenToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OAuthOBTokenOAuthOBClientAppId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OAuthOBTokenOAuthOBClientAppResourceServerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OAuthOBClientAppId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="OAuthOBClientAppResourceServerName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Udfs" type="{http://www.onenetwork.com/Platform}NameValuePairList" minOccurs="0"/>
         <element name="Issue" type="{http://www.onenetwork.com/Platform}Issue" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.onenetwork.com/Platform}MDFs" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Attribute" type="{http://www.onenetwork.com/Platform}AttributeValue" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
Serialized Form
  • Field Details

  • Constructor Details

  • Method Details

    • getActionExecTime

      public java.util.Calendar getActionExecTime()
      Gets the value of the actionExecTime property.
      Returns:
      possible object is String
    • setActionExecTime

      public void setActionExecTime​(java.util.Calendar value)
      Sets the value of the actionExecTime property.
      Parameters:
      value - allowed object is String
    • isSetActionExecTime

      public boolean isSetActionExecTime()
    • getActionName

      public java.lang.String getActionName()
      Gets the value of the actionName property.
      Overrides:
      getActionName in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setActionName

      public void setActionName​(java.lang.String value)
      Sets the value of the actionName property.
      Overrides:
      setActionName in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetActionName

      public boolean isSetActionName()
    • getInputRefId

      public java.lang.String getInputRefId()
      Gets the value of the inputRefId property.
      Returns:
      possible object is String
    • setInputRefId

      public void setInputRefId​(java.lang.String value)
      Sets the value of the inputRefId property.
      Parameters:
      value - allowed object is String
    • isSetInputRefId

      public boolean isSetInputRefId()
    • getError

      public StatusMessage getError()
      Gets the value of the error property.
      Specified by:
      getError in interface Model
      Overrides:
      getError in class com.onenetwork.platform.common.Model
      Returns:
      possible object is ErrorDef
    • setError

      public void setError​(StatusMessage value)
      Sets the value of the error property.
      Specified by:
      setError in interface Model
      Overrides:
      setError in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is ErrorDef
    • isSetError

      public boolean isSetError()
    • getCreationUser

      public java.lang.String getCreationUser()
      Gets the value of the creationUser property.
      Returns:
      possible object is String
    • setCreationUser

      public void setCreationUser​(java.lang.String value)
      Sets the value of the creationUser property.
      Parameters:
      value - allowed object is String
    • isSetCreationUser

      public boolean isSetCreationUser()
    • getCreationDate

      public java.util.Calendar getCreationDate()
      Gets the value of the creationDate property.
      Returns:
      possible object is String
    • setCreationDate

      public void setCreationDate​(java.util.Calendar value)
      Sets the value of the creationDate property.
      Parameters:
      value - allowed object is String
    • isSetCreationDate

      public boolean isSetCreationDate()
    • getLastModifiedUser

      public java.lang.String getLastModifiedUser()
      Gets the value of the lastModifiedUser property.
      Specified by:
      getLastModifiedUser in interface Model
      Overrides:
      getLastModifiedUser in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setLastModifiedUser

      public void setLastModifiedUser​(java.lang.String value)
      Sets the value of the lastModifiedUser property.
      Specified by:
      setLastModifiedUser in interface Model
      Overrides:
      setLastModifiedUser in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetLastModifiedUser

      public boolean isSetLastModifiedUser()
    • getLastModifiedDate

      public java.util.Calendar getLastModifiedDate()
      Gets the value of the lastModifiedDate property.
      Specified by:
      getLastModifiedDate in interface Model
      Overrides:
      getLastModifiedDate in class com.onenetwork.platform.common.Model
      Returns:
      possible object is String
    • setLastModifiedDate

      public void setLastModifiedDate​(java.util.Calendar value)
      Sets the value of the lastModifiedDate property.
      Specified by:
      setLastModifiedDate in interface Model
      Overrides:
      setLastModifiedDate in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is String
    • isSetLastModifiedDate

      public boolean isSetLastModifiedDate()
    • getLevelModifiedDate

      public java.util.Calendar getLevelModifiedDate()
      Gets the value of the levelModifiedDate property.
      Returns:
      possible object is String
    • setLevelModifiedDate

      public void setLevelModifiedDate​(java.util.Calendar value)
      Sets the value of the levelModifiedDate property.
      Parameters:
      value - allowed object is String
    • isSetLevelModifiedDate

      public boolean isSetLevelModifiedDate()
    • getValueChainId

      public long getValueChainId()
      Gets the value of the valueChainId property.
    • setValueChainId

      public void setValueChainId​(long value)
      Sets the value of the valueChainId property.
    • isSetValueChainId

      public boolean isSetValueChainId()
    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isSetName

      public boolean isSetName()
    • setPlatformVcId

      public void setPlatformVcId​(long value)
      Sets the value of the platformVcId property.
      Parameters:
      value - allowed object is Long
    • isSetPlatformVcId

      public boolean isSetPlatformVcId()
    • getUrl

      public java.lang.String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl​(java.lang.String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • isSetUrl

      public boolean isSetUrl()
    • getInMaintenanceModeUntil

      public java.util.Calendar getInMaintenanceModeUntil()
      Gets the value of the inMaintenanceModeUntil property.
      Returns:
      possible object is String
    • setInMaintenanceModeUntil

      public void setInMaintenanceModeUntil​(java.util.Calendar value)
      Sets the value of the inMaintenanceModeUntil property.
      Parameters:
      value - allowed object is String
    • isSetInMaintenanceModeUntil

      public boolean isSetInMaintenanceModeUntil()
    • setUseSameFileSystem

      public void setUseSameFileSystem​(boolean value)
      Sets the value of the useSameFileSystem property.
      Parameters:
      value - allowed object is Boolean
    • isSetUseSameFileSystem

      public boolean isSetUseSameFileSystem()
    • getAuthUsername

      public java.lang.String getAuthUsername()
      Gets the value of the authUsername property.
      Returns:
      possible object is String
    • setAuthUsername

      public void setAuthUsername​(java.lang.String value)
      Sets the value of the authUsername property.
      Parameters:
      value - allowed object is String
    • isSetAuthUsername

      public boolean isSetAuthUsername()
    • getAuthPassword

      public java.lang.String getAuthPassword()
      Gets the value of the authPassword property.
      Returns:
      possible object is String
    • setAuthPassword

      public void setAuthPassword​(java.lang.String value)
      Sets the value of the authPassword property.
      Parameters:
      value - allowed object is String
    • isSetAuthPassword

      public boolean isSetAuthPassword()
    • getOAuthOBTokenToken

      public java.lang.String getOAuthOBTokenToken()
      Gets the value of the oAuthOBTokenToken property.
      Returns:
      possible object is String
    • isSetOAuthOBTokenToken

      public boolean isSetOAuthOBTokenToken()
    • getOAuthOBTokenOAuthOBClientAppId

      public java.lang.String getOAuthOBTokenOAuthOBClientAppId()
      Gets the value of the oAuthOBTokenOAuthOBClientAppId property.
      Returns:
      possible object is String
    • isSetOAuthOBTokenOAuthOBClientAppId

      public boolean isSetOAuthOBTokenOAuthOBClientAppId()
    • getOAuthOBTokenOAuthOBClientAppResourceServerName

      public java.lang.String getOAuthOBTokenOAuthOBClientAppResourceServerName()
      Gets the value of the oAuthOBTokenOAuthOBClientAppResourceServerName property.
      Returns:
      possible object is String
    • isSetOAuthOBTokenOAuthOBClientAppResourceServerName

      public boolean isSetOAuthOBTokenOAuthOBClientAppResourceServerName()
    • getOAuthOBClientAppId

      public java.lang.String getOAuthOBClientAppId()
      Gets the value of the oAuthOBClientAppId property.
      Returns:
      possible object is String
    • isSetOAuthOBClientAppId

      public boolean isSetOAuthOBClientAppId()
    • getOAuthOBClientAppResourceServerName

      public java.lang.String getOAuthOBClientAppResourceServerName()
      Gets the value of the oAuthOBClientAppResourceServerName property.
      Returns:
      possible object is String
    • isSetOAuthOBClientAppResourceServerName

      public boolean isSetOAuthOBClientAppResourceServerName()
    • getUdfs

      public com.onenetwork.platform.common.NameValuePairList getUdfs()
      Gets the value of the udfs property.
      Overrides:
      getUdfs in class com.onenetwork.platform.common.Model
      Returns:
      possible object is NameValuePairList
    • setUdfs

      public void setUdfs​(com.onenetwork.platform.common.NameValuePairList value)
      Sets the value of the udfs property.
      Overrides:
      setUdfs in class com.onenetwork.platform.common.Model
      Parameters:
      value - allowed object is NameValuePairList
    • isSetUdfs

      public boolean isSetUdfs()
      Overrides:
      isSetUdfs in class com.onenetwork.platform.common.Model
    • getIssues

      public java.util.List<Issue> getIssues()
      Gets the value of the issues property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the issues property.

      For example, to add a new item, do as follows:

          getIssues().add(newItem);
       

      Objects of the following type(s) are allowed in the list Issue

    • isSetIssues

      public boolean isSetIssues()
    • unsetIssues

      public void unsetIssues()
    • getMDFsList

      public java.util.List<javax.xml.bind.JAXBElement<? extends com.onenetwork.platform.common.MDFs>> getMDFsList()
      Gets the value of the mdFsList property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mdFsList property.

      For example, to add a new item, do as follows:

          getMDFsList().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<DummyMDFs> JAXBElement<MDFs>

      Overrides:
      getMDFsList in class com.onenetwork.platform.common.Model
    • isSetMDFsList

      public boolean isSetMDFsList()
    • unsetMDFsList

      public void unsetMDFsList()
    • getAttributes

      public java.util.List<AttributeValue> getAttributes()
      Gets the value of the attributes property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attributes property.

      For example, to add a new item, do as follows:

          getAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list AttributeValue

      Overrides:
      getAttributes in class com.onenetwork.platform.common.Model
    • isSetAttributes

      public boolean isSetAttributes()
    • unsetAttributes

      public void unsetAttributes()
    • setOAuthOBTokenToken

      public void setOAuthOBTokenToken​(java.lang.String value)
      Sets the value of OAuthOBTokenToken, and also nullifies the following surrogate ids: SysOAuthOBTokenId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for OAuthOBTokenToken - the following will also be nullified: SysOAuthOBTokenId
    • setOAuthOBTokenOAuthOBClientAppId

      public void setOAuthOBTokenOAuthOBClientAppId​(java.lang.String value)
      Sets the value of OAuthOBTokenOAuthOBClientAppId, and also nullifies the following surrogate ids: SysOAuthOBTokenId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for OAuthOBTokenOAuthOBClientAppId - the following will also be nullified: SysOAuthOBTokenId
    • setOAuthOBTokenOAuthOBClientAppResourceServerName

      public void setOAuthOBTokenOAuthOBClientAppResourceServerName​(java.lang.String value)
      Sets the value of OAuthOBTokenOAuthOBClientAppResourceServerName, and also nullifies the following surrogate ids: SysOAuthOBTokenId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for OAuthOBTokenOAuthOBClientAppResourceServerName - the following will also be nullified: SysOAuthOBTokenId
    • setOAuthOBClientAppId

      public void setOAuthOBClientAppId​(java.lang.String value)
      Sets the value of OAuthOBClientAppId, and also nullifies the following surrogate ids: SysOAuthOBClientAppId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for OAuthOBClientAppId - the following will also be nullified: SysOAuthOBClientAppId
    • setOAuthOBClientAppResourceServerName

      public void setOAuthOBClientAppResourceServerName​(java.lang.String value)
      Sets the value of OAuthOBClientAppResourceServerName, and also nullifies the following surrogate ids: SysOAuthOBClientAppId. This nullification is done to ensure that a client can set either natural keys or sys id as desired. If you as a client wish to populate *both* natural and surrogate ids, you should set the natural keys first, then set the surrogate ids passing 'false' as the second parameter
      Parameters:
      value - new value for OAuthOBClientAppResourceServerName - the following will also be nullified: SysOAuthOBClientAppId
    • getPlatformVcId

      public long getPlatformVcId()
    • unsetPlatformVcId

      public void unsetPlatformVcId()
    • isUseSameFileSystem

      public boolean isUseSameFileSystem()
    • unsetUseSameFileSystem

      public void unsetUseSameFileSystem()
    • issueOn

      public com.onenetwork.platform.common.Issue issueOn​(java.lang.String issueName, IssueSeverity issueSeverity)
      Utility method to create an issue and set it on JAXB
    • issueOff

      public com.onenetwork.platform.common.Issue issueOff​(java.lang.String issueName)
      Utility method to create an issue and set it on JAXB
    • equals

      public boolean equals​(java.lang.Object obj)
      Description copied from interface: Model
      A Model object is considered "equal" to another Model object if it is a Model of the same type and its Natural Key fields are identical.
      Specified by:
      equals in interface Model
      Overrides:
      equals in class java.lang.Object
      Parameters:
      obj - object to compare
      Returns:
      true if the object is the same type of Model with identical Natural Key fields
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • internalToString

      protected java.lang.String internalToString()
      Overrides:
      internalToString in class com.onenetwork.platform.common.Model
    • toStrContrib

      public java.lang.String toStrContrib()
      Not intended for use by Clients
    • getModelType

      public com.onenetwork.platform.data.model.impl.ModelType getModelType()
      methods to get ModelType for this JAXB.
      Overrides:
      getModelType in class com.onenetwork.platform.common.Model
    • getModelLevelType

      public com.onenetwork.platform.data.model.impl.ModelLevelType getModelLevelType()
      methods to get ModelLevelType for this JAXB.
      Overrides:
      getModelLevelType in class com.onenetwork.platform.common.Model
    • getStandardModelName

      public java.lang.String getStandardModelName()
      method to get standard model name for this JAXB.
      Overrides:
      getStandardModelName in class com.onenetwork.platform.common.Model
    • getSysOAuthOBTokenId

      public java.lang.Long getSysOAuthOBTokenId()
      Returns the surrogate id value for SysOAuthOBTokenId. After reading a model, this will always match with the corresponding natural keys, which are: oAuthOBTokenToken, oAuthOBTokenOAuthOBClientAppId, oAuthOBTokenOAuthOBClientAppResourceServerName
    • setSysOAuthOBTokenId

      public void setSysOAuthOBTokenId​(java.lang.Long value, boolean nullifyNaturalKeys)
      Sets the surrogate id value for SysOAuthOBTokenId. As a client, when you want to update the model in the database, you may set values either by natural key or by sys id, or by both. Calling this method with 'true' will nullify the natural keys for this surrogate key: oAuthOBTokenToken, oAuthOBTokenOAuthOBClientAppId, oAuthOBTokenOAuthOBClientAppResourceServerName. This ensures the values don't conflict. If you are 'populating' an object and want to set both natural and surrogate keys, you should set the natural keys first, then call this method with 'false' for nullifyNaturalKeys.
      Parameters:
      value - new value for SysOAuthOBTokenId
      nullifyNaturalKeys - true to nullify the related natural keys (oAuthOBTokenToken, oAuthOBTokenOAuthOBClientAppId, oAuthOBTokenOAuthOBClientAppResourceServerName), or false to leave as is - please note that you can pass either surrogate id or natural keys to the server write API, or both
    • getSysOAuthOBClientAppId

      public java.lang.Long getSysOAuthOBClientAppId()
      Returns the surrogate id value for SysOAuthOBClientAppId. After reading a model, this will always match with the corresponding natural keys, which are: oAuthOBClientAppId, oAuthOBClientAppResourceServerName
    • setSysOAuthOBClientAppId

      public void setSysOAuthOBClientAppId​(java.lang.Long value, boolean nullifyNaturalKeys)
      Sets the surrogate id value for SysOAuthOBClientAppId. As a client, when you want to update the model in the database, you may set values either by natural key or by sys id, or by both. Calling this method with 'true' will nullify the natural keys for this surrogate key: oAuthOBClientAppId, oAuthOBClientAppResourceServerName. This ensures the values don't conflict. If you are 'populating' an object and want to set both natural and surrogate keys, you should set the natural keys first, then call this method with 'false' for nullifyNaturalKeys.
      Parameters:
      value - new value for SysOAuthOBClientAppId
      nullifyNaturalKeys - true to nullify the related natural keys (oAuthOBClientAppId, oAuthOBClientAppResourceServerName), or false to leave as is - please note that you can pass either surrogate id or natural keys to the server write API, or both