Package org.openprovenance.prov.vanilla
Class LangString
- java.lang.Object
-
- org.openprovenance.prov.vanilla.LangString
-
- All Implemented Interfaces:
Equals,HashCode,ToString,LangString
public class LangString extends Object implements LangString, Equals, HashCode, ToString
-
-
Constructor Summary
Constructors Constructor Description LangString(String value)LangString(String value, String lang)
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)StringgetLang()Gets the value of the lang property.StringgetValue()Gets the value of the value property.inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)voidsetLang(String value)Sets the value of the lang property.voidsetValue(String value)Sets the value of the value property.StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Method Detail
-
getValue
public String getValue()
Description copied from interface:LangStringGets the value of the value property.- Specified by:
getValuein interfaceLangString- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Description copied from interface:LangStringSets the value of the value property.- Specified by:
setValuein interfaceLangString- Parameters:
value- allowed object isString
-
getLang
public String getLang()
Description copied from interface:LangStringGets the value of the lang property.- Specified by:
getLangin interfaceLangString- Returns:
- possible object is
String
-
setLang
public void setLang(String value)
Description copied from interface:LangStringSets the value of the lang property.- Specified by:
setLangin interfaceLangString- Parameters:
value- allowed object isString
-
equals
public void equals(Object object, EqualsBuilder equalsBuilder)
-
hashCode
public void hashCode(HashCodeBuilder hashCodeBuilder)
-
toString
public void toString(ToStringBuilder toStringBuilder)
-
-