summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmcmahan2012-10-15 09:56:43 (EDT)
committer pmcmahan2012-10-15 09:56:43 (EDT)
commit87692b63758729614837e713c9e421c370883dfc (patch)
treed8b7718bf06eca72b567dda9e94f1f3cb3e74ae8
parentdcb40b3efad9715eff012f74f7bd100d18029c35 (diff)
downloadorg.eclipse.lyo.client-87692b63758729614837e713c9e421c370883dfc.zip
org.eclipse.lyo.client-87692b63758729614837e713c9e421c370883dfc.tar.gz
org.eclipse.lyo.client-87692b63758729614837e713c9e421c370883dfc.tar.bz2
-rw-r--r--org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/AutomationAdapter.java16
-rw-r--r--org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties2
2 files changed, 9 insertions, 9 deletions
diff --git a/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/AutomationAdapter.java b/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/AutomationAdapter.java
index 4cc7343..9f1b3fd 100644
--- a/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/AutomationAdapter.java
+++ b/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/AutomationAdapter.java
@@ -98,7 +98,7 @@ public class AutomationAdapter extends AbstractResource implements IConstants {
public static final String PROPERTY_IP_ADDRESS = "ipAddress";
public static final String PROPERTY_POLLING_INTERVAL = "pollingInterval";
public static final String PROPERTY_MAC_ADDRESSS = "macAddress";
- public static final String PROPERTY_FQDN = "fqdn";
+ public static final String PROPERTY_FULLY_QUALIFIED_DOMAIN_NAME = "fullyQualifiedDomainName";
public static final String PROPERTY_CAPABIILTY = "capability";
// connection properties
@@ -115,7 +115,7 @@ public class AutomationAdapter extends AbstractResource implements IConstants {
private String ipAddress;
private Integer pollingInterval;
private String macAddress;
- private String fqdn;
+ private String fullyQualifiedDomainName;
// properties provided by the server
private URI relation;
@@ -163,7 +163,7 @@ public class AutomationAdapter extends AbstractResource implements IConstants {
hostname = properties.getProperty(PROPERTY_HOSTNAME);
ipAddress = properties.getProperty(PROPERTY_IP_ADDRESS);
macAddress = properties.getProperty(PROPERTY_MAC_ADDRESSS);
- fqdn = properties.getProperty(PROPERTY_FQDN);
+ fullyQualifiedDomainName = properties.getProperty(PROPERTY_FULLY_QUALIFIED_DOMAIN_NAME);
String pollingIntervalStr = properties
.getProperty(PROPERTY_POLLING_INTERVAL);
@@ -296,15 +296,15 @@ public class AutomationAdapter extends AbstractResource implements IConstants {
this.macAddress = macAddress;
}
- @OslcPropertyDefinition(NAMESPACE_URI_JAZZ_QM + "fQDN")
+ @OslcPropertyDefinition(NAMESPACE_URI_JAZZ_QM + "fullyQualifiedDomainName")
@OslcTitle("Fully Qualified Domain Name")
@OslcValueType(ValueType.XMLLiteral)
- public String getfQDN() {
- return fqdn;
+ public String getFullyQualifiedDomainName() {
+ return fullyQualifiedDomainName;
}
- public void setfQDN(String fqdn) {
- this.fqdn = fqdn;
+ public void setFullyQualifiedDomainName(String fullyQualifiedDomainName) {
+ this.fullyQualifiedDomainName = fullyQualifiedDomainName;
}
@OslcDescription("Capability of the adapter like Execute, Record, Import.")
diff --git a/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties b/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties
index 702a00d..0d1cd7c 100644
--- a/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties
+++ b/org.eclipse.lyo.samples.clients/src/main/java/org/eclipse/lyo/client/oslc/samples/automation/adapter.properties
@@ -9,6 +9,6 @@ hostname=rqm.ibm.com
ipAddress=127.0.0.1
pollingInterval=5
macAddress=50:c5:47:97:55:15
-fqdn=ibm.com
+fullyQualifiedDomainName=ibm.com
capability=Execute