Package org.lfenergy.shapeshifter.api
Class Metering
java.lang.Object
org.lfenergy.shapeshifter.api.PayloadMessageType
org.lfenergy.shapeshifter.api.Metering
- All Implemented Interfaces:
Serializable
Java class for MeteringMessageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MeteringMessageType">
<complexContent>
<extension base="{}PayloadMessageType">
<sequence>
<element name="Profile" type="{}MeteringProfileType" maxOccurs="unbounded"/>
</sequence>
<attribute name="Revision" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="ISP-Duration" use="required" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="TimeZone" use="required" type="{}TimeZoneNameType" />
<attribute name="Currency" type="{}ISO4217CurrencyType" />
<attribute name="Period" use="required" type="{}PeriodType" />
<attribute name="EAN" use="required" type="{}EANType" />
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Durationprotected LocalDateprotected List<MeteringProfileType>protected longprotected StringFields inherited from class org.lfenergy.shapeshifter.api.PayloadMessageType
conversationID, messageID, recipientDomain, senderDomain, timeStamp, version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the currency property.getEAN()Gets the value of the ean property.Gets the value of the ispDuration property.Gets the value of the period property.Gets the value of the profiles property.longGets the value of the revision property.Gets the value of the timeZone property.voidsetCurrency(String value) Sets the value of the currency property.voidSets the value of the ean property.voidsetISPDuration(Duration value) Sets the value of the ispDuration property.voidSets the value of the period property.voidsetRevision(long value) Sets the value of the revision property.voidsetTimeZone(String value) Sets the value of the timeZone property.Methods inherited from class org.lfenergy.shapeshifter.api.PayloadMessageType
getConversationID, getMessageID, getRecipientDomain, getSenderDomain, getTimeStamp, getVersion, setConversationID, setMessageID, setRecipientDomain, setSenderDomain, setTimeStamp, setVersion
-
Field Details
-
profiles
-
revision
protected long revision -
ispDuration
-
timeZone
-
currency
-
period
-
ean
-
-
Constructor Details
-
Metering
public Metering()
-
-
Method Details
-
getProfiles
Gets the value of the profiles 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 Jakarta XML Binding object. This is why there is not a
setmethod for the profiles property.For example, to add a new item, do as follows:
getProfiles().add(newItem);Objects of the following type(s) are allowed in the list
MeteringProfileType- Returns:
- The value of the profiles property.
-
getRevision
public long getRevision()Gets the value of the revision property. -
setRevision
public void setRevision(long value) Sets the value of the revision property. -
getISPDuration
Gets the value of the ispDuration property.- Returns:
- possible object is
String
-
setISPDuration
Sets the value of the ispDuration property.- Parameters:
value- allowed object isString
-
getTimeZone
Gets the value of the timeZone property.- Returns:
- possible object is
String
-
setTimeZone
Sets the value of the timeZone property.- Parameters:
value- allowed object isString
-
getCurrency
Gets the value of the currency property.- Returns:
- possible object is
String
-
setCurrency
Sets the value of the currency property.- Parameters:
value- allowed object isString
-
getPeriod
Gets the value of the period property.- Returns:
- possible object is
String
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isString
-
getEAN
Gets the value of the ean property.- Returns:
- possible object is
String
-
setEAN
Sets the value of the ean property.- Parameters:
value- allowed object isString
-