bacoAlunos
ENGSOFT2019
BlueGrey
calm
Elegant
Català-Valencià - Catalan
中文 - Chinese (Simplified)
中文 - Chinese (Traditional)
Česky - Czech
Dansk - Danish
Nederlands - Dutch
English - English
Suomi - Finnish
Français - French
Deutsch - German
עברית - Hebrew
हिंदी - Hindi
Magyar - Hungarian
Bahasa Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
मराठी - Marathi
Norsk - Norwegian
Polski - Polish
Português - Portuguese
Português - Portuguese (Brazil)
Русский - Russian
Slovenčina - Slovak
Slovenščina - Slovenian
Español - Spanish
Svenska - Swedish
Türkçe - Turkish
Oëzbekcha - Uzbek
Subversion Repositories
bacoAlunos
(root)
/
branches
/
grupo2
/
impl
/
src
/
java
/
pt
/
estgp
/
estgweb
/
utils
/
documentBuilder
/
DocumentSection.java
@ 1925
- Rev 1928
Rev
Rev 1925
|
Blame
|
Compare with Previous
|
Last modification
|
View Log
|
RSS feed
package
pt.estgp.estgweb.utils.documentBuilder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* Created by jorgemachado on 11/10/17.
*/
public
class
DocumentSection
extends
SectionContainer
{
1.
5
.0/docs/api/java/lang/String.html">
String
title =
""
;
List
<
DocComponent
>
components =
new
ArrayList
<
DocComponent
>
(
)
;
public
DocumentSection
(
)
{
}
public
DocumentSection
(
1.
5
.0/docs/api/java/lang/String.html">
String
title
)
{
this
.
title
= title
;
}
public
1.
5
.0/docs/api/java/lang/String.html">
String
getTitle
(
)
{
return
title
;
}
public
void
setTitle
(
1.
5
.0/docs/api/java/lang/String.html">
String
title
)
{
this
.
title
= title
;
}
public
List
<
DocComponent
>
getComponents
(
)
{
return
components
;
}
public
void
setComponents
(
List
<
DocComponent
>
components
)
{
this
.
components
= components
;
}
public
DocComponent findDocComponent
(
1.
5
.0/docs/api/java/lang/Class.html">
Class
compClass
)
{
if
(
getComponents
(
)
!
=
null
)
for
(
DocComponent comp: getComponents
(
)
)
{
if
(
comp.
getClass
(
)
.
equals
(
compClass
)
)
{
return
comp
;
}
}
return
null
;
}
public
DocComponent findDocComponent
(
1.
5
.0/docs/api/java/lang/Class.html">
Class
compClass,
1.
5
.0/docs/api/java/lang/String.html">
String
internalCode
)
{
if
(
getComponents
(
)
!
=
null
&&
internalCode
!
=
null
)
for
(
DocComponent comp: getComponents
(
)
)
{
if
(
comp.
getClass
(
)
.
equals
(
compClass
)
&&
comp.
getInternalCode
(
)
.
equals
(
internalCode
)
)
{
return
comp
;
}
}
return
null
;
}
}