Package org.spdx.storage
Class PropertyDescriptor
- java.lang.Object
-
- org.spdx.storage.PropertyDescriptor
-
public class PropertyDescriptor extends Object
Holds a description of a property including the property name and property nameSpaceIncludes a helper function to default the namespace.
- Author:
- Gary O'Neall
-
-
Constructor Summary
Constructors Constructor Description PropertyDescriptor(String name, String nameSpace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object compare)
String
getName()
String
getNameSpace()
int
hashCode()
void
setName(String name)
void
setNameSpace(String nameSpace)
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name
- the name to set
-
getNameSpace
public String getNameSpace()
- Returns:
- the nameSpace
-
setNameSpace
public void setNameSpace(String nameSpace)
- Parameters:
nameSpace
- the nameSpace to set
-
-