@Entity(name="Property") public class JPAProperty extends Object implements org.apache.james.mailbox.store.mail.model.Property
| Constructor and Description |
|---|
JPAProperty()
Deprecated.
enhancement only
|
JPAProperty(JPAProperty property)
Create a copy of the give JPAProperty
|
JPAProperty(org.apache.james.mailbox.store.mail.model.Property property,
int order)
Constructs a property cloned from the given.
|
JPAProperty(String namespace,
String localName,
String value,
int order)
Constructs a property.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLocalName()
Gets the local part of the name of the property.
|
String |
getNamespace()
Gets the namespace for the name.
|
int |
getOrder()
Gets the order of this property.
|
String |
getValue()
Gets the value for this property.
|
int |
hashCode() |
String |
toString()
Constructs a
String with all attributes in name = value
format. |
@Deprecated public JPAProperty()
public JPAProperty(String namespace, String localName, String value, int order)
localName - not nullnamespace - not nullvalue - not nullpublic JPAProperty(org.apache.james.mailbox.store.mail.model.Property property, int order)
property - not nullpublic JPAProperty(JPAProperty property)
property - public int getOrder()
public String getLocalName()
getLocalName in interface org.apache.james.mailbox.store.mail.model.Propertypublic String getNamespace()
getNamespace in interface org.apache.james.mailbox.store.mail.model.Propertypublic String getValue()
getValue in interface org.apache.james.mailbox.store.mail.model.PropertyCopyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.