com.atlassian.confluence.labels
Class ParsedLabelName

java.lang.Object
  extended by com.atlassian.confluence.labels.ParsedLabelName

public class ParsedLabelName
extends Object

The label reference object encapsulates the unique string representation of a label within confluence.


Constructor Summary
ParsedLabelName(String name)
           
ParsedLabelName(String name, String owner)
           
ParsedLabelName(String name, String owner, String prefix)
           
 
Method Summary
 Label addLabel(Labelable labelable, LabelManager labelManager)
           
 boolean equals(Object obj)
           
 String getName()
          The label name.
 String getOwner()
          The name of the labels owner, or null if this label does not have an owner.
 String getPrefix()
           
 int hashCode()
           
 boolean isOwnerSpecified()
           
 void setPrefix(String prefix)
           
 Label toLabel()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedLabelName

public ParsedLabelName(String name)

ParsedLabelName

public ParsedLabelName(String name,
                       String owner)

ParsedLabelName

public ParsedLabelName(String name,
                       String owner,
                       String prefix)
Method Detail

getName

public String getName()
The label name.


getOwner

public String getOwner()
The name of the labels owner, or null if this label does not have an owner.


getPrefix

public String getPrefix()

setPrefix

public void setPrefix(String prefix)

isOwnerSpecified

public boolean isOwnerSpecified()

addLabel

public Label addLabel(Labelable labelable,
                      LabelManager labelManager)

toLabel

public Label toLabel()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.