Package org.jcp.persistence
Class Persistence.PersistenceUnit.Properties.Property
- java.lang.Object
-
- org.jcp.persistence.Persistence.PersistenceUnit.Properties.Property
-
- Enclosing class:
- Persistence.PersistenceUnit.Properties
public static class Persistence.PersistenceUnit.Properties.Property extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Property()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.StringgetValue()Gets the value of the value property.voidsetName(String value)Sets the value of the name property.voidsetValue(String value)Sets the value of the value property.Persistence.PersistenceUnit.Properties.PropertywithName(String value)Persistence.PersistenceUnit.Properties.PropertywithValue(String value)
-
-
-
Method Detail
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
withName
public Persistence.PersistenceUnit.Properties.Property withName(String value)
-
withValue
public Persistence.PersistenceUnit.Properties.Property withValue(String value)
-
-