Package org.alfresco.repo.domain.qname
Class QNameEntity
- java.lang.Object
-
- org.alfresco.repo.domain.qname.QNameEntity
-
public class QNameEntity extends Object
Entity for alf_qname persistence.- Since:
- 3.4
- Author:
- Derek Hulley
-
-
Field Summary
Fields Modifier and Type Field Description static LongCONST_LONG_ZEROstatic StringEMPTY_LOCALNAME_SUBSTITUTE
-
Constructor Summary
Constructors Constructor Description QNameEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetId()StringgetLocalName()StringgetLocalNameSafe()Convenience getter to interpret theEMPTY_LOCALNAME_SUBSTITUTELonggetNamespaceId()LonggetVersion()voidincrementVersion()voidsetId(Long id)voidsetLocalName(String localName)voidsetLocalNameSafe(String localName)Convenience setter to interpret theEMPTY_LOCALNAME_SUBSTITUTEvoidsetNamespaceId(Long namespaceId)voidsetVersion(Long version)StringtoString()
-
-
-
Field Detail
-
EMPTY_LOCALNAME_SUBSTITUTE
public static final String EMPTY_LOCALNAME_SUBSTITUTE
- See Also:
- Constant Field Values
-
CONST_LONG_ZERO
public static final Long CONST_LONG_ZERO
-
-
Method Detail
-
incrementVersion
public void incrementVersion()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getVersion
public Long getVersion()
-
setVersion
public void setVersion(Long version)
-
getNamespaceId
public Long getNamespaceId()
-
setNamespaceId
public void setNamespaceId(Long namespaceId)
-
getLocalName
public String getLocalName()
-
setLocalName
public void setLocalName(String localName)
-
getLocalNameSafe
public String getLocalNameSafe()
Convenience getter to interpret theEMPTY_LOCALNAME_SUBSTITUTE
-
setLocalNameSafe
public void setLocalNameSafe(String localName)
Convenience setter to interpret theEMPTY_LOCALNAME_SUBSTITUTE
-
-