public class SourceItem extends java.lang.Object implements ISourceItem, java.io.Serializable
Constructor and Description |
---|
SourceItem()
Attention:
Constructor is normally NOT called.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(ISourceItem child) |
boolean |
equals(java.lang.Object o) |
java.util.Collection<? extends ISourceItem> |
getChildren()
Attention:
As we cache the nodes, the children are normally NOT up-to-date.
|
java.lang.String |
getHashValue()
Returns a String representation of calculated crypto hash.
|
java.io.Serializable |
getId()
Attention:
As we don't want the UID class in the eclipse plugin, the String
representation of UIDs is returned.
|
java.lang.String |
getQualifiedName() |
SourceType |
getType() |
int |
hashCode() |
void |
setHashValue(java.lang.String hashValue) |
void |
setId(java.io.Serializable id)
Attention:
As we don't want the UID class in the eclipse plugin, UIDs must be
converted to String before calling this setter.
|
void |
setQualifiedName(java.lang.String qualifiedName) |
void |
setType(SourceType type) |
java.lang.String |
toString() |
void |
visit(ISourceVisitor visitor) |
public SourceItem()
public java.lang.String getQualifiedName()
getQualifiedName
in interface ISourceItem
public void setQualifiedName(java.lang.String qualifiedName)
setQualifiedName
in interface ISourceItem
public java.lang.String getHashValue()
ISourceItem
Object.equals(Object)
.getHashValue
in interface ISourceItem
public void setHashValue(java.lang.String hashValue)
setHashValue
in interface ISourceItem
public SourceType getType()
getType
in interface ISourceItem
public void setType(SourceType type)
setType
in interface ISourceItem
public java.util.Collection<? extends ISourceItem> getChildren()
ISourceItem
getChildren
in interface ISourceItem
public void addChild(ISourceItem child)
addChild
in interface ISourceItem
public void visit(ISourceVisitor visitor)
visit
in interface ISourceItem
public java.io.Serializable getId()
ISourceItem
getId
in interface ISourceItem
public void setId(java.io.Serializable id)
ISourceItem
setId
in interface ISourceItem
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022. All rights reserved.