Class PatentItem
java.lang.Object
org.cyclonedx.model.PatentItem
Discriminated union for the polymorphic patents array in definitions.
Can hold either a
Patent or a PatentFamily.- Since:
- 10.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()booleanisValid()static PatentItemstatic PatentItemofPatentFamily(PatentFamily patentFamily)
-
Method Details
-
ofPatent
-
ofPatentFamily
-
getPatent
-
getPatentFamily
-
getType
-
isValid
public boolean isValid() -
equals
-
hashCode
-